Open guanzo opened 5 years ago
(Sorry I never replied to this. This must have gotten lost in my email.)
Huh, the fact that the adapter doesn't work out of the box is not good. That's it entire purpose :D I'll see if I can fix this
(Sorry I never replied to this. This must have gotten lost in my email.)
Huh, the fact that the adapter doesn't work out of the box is not good. That's it entire purpose :D I'll see if I can fix this
@surma did you manage to fix this within comlink or do consumers still need to override the default proxy transfer handler as per the above example? Thanks.
Still doesn't work out of the box...
Took me a while to figure out how to make
Comlink.proxy()
work in node worker threads. I'm not sure that Comlink itself needs to handle this, since the simple workaround is to override the defaultproxy
transfer handler. Here's how I did it for anyone curious