Skip to content

how can i use arangojs on web worker? #760

@YankeeTube

Description

@YankeeTube

I started using arango while looking for a DB that supports http in cloudflare workers.

However, when used using arangojs, it operates on web worker, so the window cannot be accessed, resulting in the following error.

Uncaught ReferenceError: window is not defined
  at line 1 in t.btoa
  at line 1 in setBasicAuth
  at line 1 in t.Connection
  at line 1 in _
  at line 1
  at line 1 in r
  at line 1
  at line 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestRequest for new functionality to be added to the driver.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions