UNPKG

@effect-ts/system

Version:

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

8 lines 425 B
import type { Managed } from "../managed.js"; /** * Lifts a synchronous effect that does not throw exceptions into a * `Managed<unknown, never, A>` with a release action. The acquire and * release actions will be performed uninterruptibly. */ export declare function makeSucceedWith<A, B>(acquire: () => A, release: (a: A) => B, __trace?: string): Managed<unknown, never, A>; //# sourceMappingURL=makeSucceedWith.d.ts.map