MCPcopy Create free account
hub / github.com/effect-app/libs / suspend

Function suspend

repos/effect/packages/effect/src/Layer.ts:1091–1092  ·  view source on GitHub ↗
(evaluate: LazyArg<Layer<A, E, R>>)

Source from the content-addressed store, hash-verified

1089 * import { Effect, Layer } from "effect"
1090 *
1091 * const logs: Array<string> = []
1092 * const initLayer = Layer.effectDiscard(
1093 * Effect.sync(() => {
1094 * logs.push("Initializing application...")
1095 * })

Callers

nothing calls this directly

Calls 3

fromBuildMemoFunction · 0.85
buildMethod · 0.80
evaluateFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…