/async-iterator-channel

⚠️📢 An observable-like experiment I made to learn async iterators

Primary LanguageJavaScriptMIT LicenseMIT

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: