UNPKG

scramjet-core

Version:

A pluggable minimal version of Scramjet that focuses only on stream transform and exposes only core features

8 lines (7 loc) 200 B
// eslint-disable-next-line node/no-unsupported-features/es-syntax module.exports = async function*() { await new Promise(res => process.nextTick(res)); yield 1; yield 2; return 3; };