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

3 lines (2 loc) 220 B
import { type ReadableLike } from "web-streams-extensions"; export type FlowSource<T> = Promise<T> | Iterable<T> | AsyncIterable<T> | (() => Iterable<T>) | (() => AsyncIterable<T>) | ReadableLike<T> | ReadableStream<T>;