@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
8 lines • 412 B
TypeScript
import type { Effect } from "./effect.js";
/**
* Returns an effect that first executes the outer effect, and then executes
* the inner effect, returning the value from the inner effect, and effectively
* flattening a nested effect.
*/
export declare function flatten<R, E, R1, E1, A>(effect: Effect<R, E, Effect<R1, E1, A>>, __trace?: string): Effect<R & R1, E | E1, A>;
//# sourceMappingURL=flatten.d.ts.map