@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
9 lines • 475 B
TypeScript
import * as Tp from "../../../../Collections/Immutable/Tuple/index.js";
import * as T from "../../../../Effect/index.js";
import * as O from "../../../../Option/index.js";
import type * as C from "../core.js";
/**
* Creates a stream by effectfully peeling off the "layers" of a value of type `S`
*/
export declare function unfoldEffect<R, E, A, S>(s: S, f: (s: S) => T.Effect<R, E, O.Option<Tp.Tuple<[A, S]>>>): C.Stream<R, E, A>;
//# sourceMappingURL=unfoldEffect.d.ts.map