DEV Community

Discussion on: Seamless web workers & worker threads - threads.js

andywer profile image
Andy Wermke Author

They play in the same ball park, but Comlink only works with web workers (no node.js support) and lacks a bunch of features, like out-of-the-box support for TypeScript workers without transpilation, support for observables and some more things.

Not sure about workway. It seems to support web workers and node worker threads, but won’t work easily with webpack and seems to lack the TypeScript features, for instance.

bennycode profile image
Benny Neugebauer

Comlink now supports Node.js:

P.S. I like you "ball park" expression. 😄