comlink
Version:
Comlink makes WebWorkers enjoyable
9 lines (7 loc) • 364 B
Markdown
# v3 -> v4
- Added support for NodeJS 11+ workers
- `Comlink.proxy()` is now called `Comlink.wrap()`
- `Comlink.proxyValue()` is now called `Comlink.proxy()`
- Transferable values are _not_ transferred by default anymore. They need to be wrapped with `Comlink.transfer()`
- Rewrote TypeScript types
- New folder structure in the GitHub repo and in the npm module