UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

11 lines (10 loc) 369 B
import * as Chain from "./chain.mjs"; import * as FromChunk from "./fromChunk.mjs"; import * as FromIterable from "./fromIterable.mjs"; /** * Creates a stream from an arbitrary number of chunks. */ export function fromChunks(...chunks) { return Chain.chain_(FromIterable.fromIterable(chunks), _ => FromChunk.fromChunk(_)); } //# sourceMappingURL=fromChunks.mjs.map