GoogleChromeLabs/comlink-loader

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

soulcrys opened this issue · 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.