v0.9.0
Performance
Channel
, formerly EventQueue
, are now cloneable. Clones share a backing queue to take advantage of an optimization in Node threadsafe functions. Additionally, when specifying Node API 6 or higher (napi-6
), calling cx.channel()
will return a shared queue (#739).
The change may cause a performance regression in some pathological use cases (#762).
Deprecation
EventQueue
and EventQueueError
have been renamed to Channel
and ChannelError
respectively to clarify their function and similarity to Rust channels. The types are available as deprecated aliases (#752).
Docs
Fixes
- Fix usage of a removed API in legacy buffers (#769)