Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Typescript]How to use callback or send message from worker to main thread? #45

Open
soulcrys opened this issue Nov 1, 2021 · 0 comments

Comments

@soulcrys
Copy link

soulcrys commented Nov 1, 2021

Hi, is there anyway to use callback or send message from worker to main thread with comlink-loader? I have an interval function run in worker, I want to send a notification to the main thread each time it is run.

@soulcrys soulcrys changed the title How to use callback or send message from worker to main thread? [Typescript]How to use callback or send message from worker to main thread? Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant