MCPcopy
hub / github.com/Effect-TS/effect / suspend

Function suspend

packages/effect/src/Schema.ts:3572–3572  ·  view source on GitHub ↗
(f: () => Schema<A, I, R>)

Source from the content-addressed store, hash-verified

3570 * @since 3.10.0
3571 */
3572export const suspend = <A, I, R>(f: () => Schema<A, I, R>): suspend<A, I, R> => make(new AST.Suspend(() => f().ast))
3573
3574/**
3575 * @since 3.10.0

Callers 14

fiberInterruptFunction · 0.70
fiberInterruptAllFunction · 0.70
failCauseSyncFunction · 0.70
failSyncFunction · 0.70
try_Function · 0.70
genFunction · 0.70
Micro.tsFile · 0.70
addFinalizerMethod · 0.70
closeMethod · 0.70
scopedFunction · 0.70
allFunction · 0.70
forEachFunction · 0.70

Calls 2

makeFunction · 0.70
fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…