comlink-loader icon indicating copy to clipboard operation
comlink-loader copied to clipboard

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

Open soulcrys opened this issue 4 years ago • 0 comments

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 avatar Nov 01 '21 02:11 soulcrys