UNPKG

@effect-ts/system

Version:

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

12 lines 541 B
import type * as C from "../core.js"; /** * Threads the stream through the transformation function `f`. */ export declare function via_<R, R1, E, E1, A, A1>(self: C.Stream<R, E, A>, f: (a: C.Stream<R, E, A>) => C.Stream<R1, E1, A1>): C.Stream<R1, E1, A1>; /** * Threads the stream through the transformation function `f`. * * @ets_data_first via_ */ export declare function via<R, R1, E, E1, A, A1>(f: (a: C.Stream<R, E, A>) => C.Stream<R1, E1, A1>): (self: C.Stream<R, E, A>) => C.Stream<R1, E1, A1>; //# sourceMappingURL=via.d.ts.map