A temporary alternative solution for web worker version @hpcc-js/wasm/graphicviz #159
Replies: 4 comments
-
I never really considered having built in worker support, I just had tests to make sure this lib worked well as a worker - here are the tests I use for ensuring this lib plays nice in workers:
(you might want to tweak your code, so that so it also works in NodeJS) Would you like to issue a PR to integrate here, or was your post just an FYI? Thanks for the example though! |
Beta Was this translation helpful? Give feedback.
-
I want to use @hpcc-js/wasm as a web worker in my project, so what do you mean is that I can issue a PR to enable @hpcc-js/wasm to support web workers? |
Beta Was this translation helpful? Give feedback.
-
I wasn't sure if (by opening this issue) you wanted to see built in worker support here? Something like: |
Beta Was this translation helpful? Give feedback.
-
I opened this issue to provide a convenient way for others to use @hpcc-js/wasm/graphicviz in web worker. You can label it FYI and then close it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/coder-xiaotian/graphviz-worker
Beta Was this translation helpful? Give feedback.
All reactions