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) 323 B
// ets_tracing: off import { suspend as suspendEffect } from "../../Effect/core.mjs"; import { managedApply } from "../managed.mjs"; /** * Suspends the creation of this effect */ export function suspend(f, __trace) { return managedApply(suspendEffect(() => f().effect, __trace)); } //# sourceMappingURL=suspend.mjs.map