simplified asyncIterable
builder using next()
and done()
functions
npm install async-iterable-builder
import AsyncIterableBuilder from './dist/AsyncIterableBuilder.js'
const { next, done, isDone, iterable } = new AsyncIterableBuilder()
see example.ts