Closed maxammann closed 2 months ago
No errors.
Executing Rust Futures from JavaScript fails in WebWorkers. The following errors is shown: ReferenceError: Can't find variable: Worker
Avoid using the polyfill for waitAsync from wasm-bindgen-futures.
Documented per https://github.com/maplibre/maplibre-rs/pull/313
🤔 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