UNPKG

sflow

Version:

sflow is a powerful and highly-extensible library designed for processing and manipulating streams of data effortlessly. Inspired by the functional programming paradigm, it provides a rich set of utilities for transforming streams, including chunking, fil

8 lines 369 B
import type { Awaitable } from "./Awaitable"; type asyncMapOptions = { concurrency?: number; }; /** For each loop on stream, you can modify the item by x.property = 123 */ export declare function forEachs<T>(fn: (x: T, i: number) => Awaitable<undefined | unknown>, options?: asyncMapOptions): TransformStream<T, T>; export {}; //# sourceMappingURL=forEachs.d.ts.map