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
Web workers inits on app start and not depend on which route open now.
How i can start web worker on certain route and stop it when i go to another one?
I know that i can use close method in worker for stop
export const terminate = () => { close(); };
But after call close() method i can't start worker again without refresh page.
The text was updated successfully, but these errors were encountered:
I use comlink-loader in singleton mode.
Web workers inits on app start and not depend on which route open now.
How i can start web worker on certain route and stop it when i go to another one?
I know that i can use close method in worker for stop
export const terminate = () => { close(); };
But after call close() method i can't start worker again without refresh page.
The text was updated successfully, but these errors were encountered: