import { AbstractAsyncIter } from "https://deno.land/x/proc@0.20.8/tests/deps/asynciter.ts";
Properties
protected
abstract
readonly
iterator: AsyncIterable<T>Methods
concurrentMap<U>(mapFn: (item: T) => Promise<U>, concurrency?: number): AsyncIter<U>
Map the sequence from one type to another, concurrently.
Results are returned in order.
concurrentUnorderedMap<U>(mapFn: (item: T) => Promise<U>, concurrency?: number): AsyncIter<U>
Map the sequence from one type to another, concurrently.
Items are iterated out of order. This allows maximum concurrency at all times, but the output order cannot be assumed to be the same as the input order.
Filter the sequence to contain just the items that pass a test.
Perform an operation for each item in the sequence.
Reduce a sequence to a single value.
[Symbol.asyncIterator](): AsyncGenerator<T, void, unknown>