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 (7 loc) 222 B
import type { Awaitable } from "./Awaitable"; export declare const reduceEmits: { <T, S, R>(fn: (state: S, x: T, i: number) => Awaitable<{ next: S; emit: R; }>, state: S): TransformStream<T, R>; };