UNPKG

fast-iterable

Version:

Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

11 lines (10 loc) 310 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getNextAsyncIterator = void 0; async function getNextAsyncIterator(asyncIterator, index) { return { index, result: await asyncIterator.next(), }; } exports.getNextAsyncIterator = getNextAsyncIterator;