UNPKG

@codibre/fluent-iterable

Version:

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

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