Consider this basic AsyncIterator Example from MDN: var asyncIterable = { [Symbol.asyncIterator]() { return { i: 0, next() { if (this.i < 3) { return Promise.…