Closed stephenjason89 closed 1 year ago
You can find the docs here: https://partytown.builder.io.
Thanks @danielroe I might be wrong, but I have a 3 webworker scripts that i register like
from the worker itself i can call postMessage to send a message
I can then listen to the webworker's message like this
Is partytown able to handle this kind of stuff? From the documentation above, I am not so certain.
I am currently using https://www.npmjs.com/package/worker-plugin
Any clarifications on the matter is deeply appreciated.
It's not like your other web workers in that you don't need to manually post messages. partytown automatically forwards events: https://partytown.builder.io/forwarding-events.
If it's not a Nuxt question, I would recommend engaging on https://github.com/BuilderIO/partytown instead.
thank u @danielroe
How do we communicate with the web worker like postMessage and stuff