You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
const worker = new WebworkerPromise(new SharedWorker('worker.ts'));
dex.js:67 Uncaught (in promise) TypeError: this._worker.postMessage is not a function
at index.js:67:20
at new Promise (<anonymous>)
at Worker.postMessage (index.js:64:12)
The text was updated successfully, but these errors were encountered:
SharedWorker has a significantly different interface than regular Workers. I think in theory it is possible to implement support for them, but it requires significant improvements
I have a plan to implement a more universal library with support for node thread_workers, ServiceWorkers, SharedWorkers. But I can't predict when it will be ready yet
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This lib does not work for Shared WebWorkers.
The text was updated successfully, but these errors were encountered: