Skip to content

ReferenceError: Can't find variable: Worker #166

Closed
@maxammann

Description

🤔 Expected Behavior

No errors.

😯 Current Behavior

Executing Rust Futures from JavaScript fails in WebWorkers.
The following errors is shown: ReferenceError: Can't find variable: Worker

💁 Possible Solution

Avoid using the polyfill for waitAsync from wasm-bindgen-futures.

🔦 Context

🌍 Your Environment

  • Web
    • Browser: Safari

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions