Sha256: afa1d572336538ee045d2210e6b23af0dfe2654e15273e3c54455949da9c2744
Contents?: true
Size: 413 Bytes
Versions: 26
Compression:
Stored size: 413 Bytes
Contents
import type { PromiseOrValue } from '../jsutils/PromiseOrValue'; /** * Given an AsyncIterable and a callback function, return an AsyncIterator * which produces values mapped via calling the callback function. */ export declare function mapAsyncIterator<T, U, R = undefined>( iterable: AsyncGenerator<T, R, void> | AsyncIterable<T>, callback: (value: T) => PromiseOrValue<U>, ): AsyncGenerator<U, R, void>;
Version data entries
26 entries across 26 versions & 1 rubygems