4 ms·
I've done a few things with workers years ago - and I remember thinking "someone is going to make the socket.io of workers someday, because this is verbose!". I
by FunnyLookinHat 5y ago
I've done a few things with workers years ago - and I remember thinking "someone is going to make the socket.io of workers someday, because this is verbose!". I think this delivers!
I've had an idea for a fun little JS game for a while now - seeing this is going to give me an excuse to build it and try workers at the same time.
Thanks for sharing!
- Tajnymag 5y agoWhat do you think about Comlink? It's a Google endorsed library with a similar syntax. Not sure about node support though.
- leodriesch 5y agoAlso supports Node.js, service workers and iFrame communication. https://github.com/GoogleChromeLabs/comlink https://github.com/GoogleChromeLabs/comlink