3 ms·
Each thread or worker is a V8 Isolate, each with their own GC. I don't think WeakMaps could cross the isolate boundary. The project lists a set of "transportab
by mhio 4y ago
Each thread or worker is a V8 Isolate, each with their own GC. I don't think WeakMaps could cross the isolate boundary.
The project lists a set of "transportable" types, which can be passed in as an argument when calling a worker function - https://github.com/microsoft/napajs/blob/master/docs/api/transport.md https://github.com/microsoft/napajs/blob/master/docs/api/tra...
- soylentgraham 4y agoWonder why this was built on v8 and not chakra