Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 931 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 931 Bytes

Async Iterator Channel

status: experimental license

An experiment I made to learn async iterators added in Node.js v10.0.0. It allows an implementer to create a channel consumers can subscribe to (like observables or events) and use for await syntax instead of callbacks.

Given that there are existing mature APIs and libraries that fit this use case, don't use this in your codebase. Instead, take a look at: