MCPcopy
hub / github.com/anomalyco/opencode / body

Function body

packages/opencode/test/lib/effect.ts:34–34  ·  view source on GitHub ↗
(value: Body<A, E, R>)

Source from the content-addressed store, hash-verified

32}
33
34const body = <A, E, R>(value: Body<A, E, R>) => Effect.suspend(() => (typeof value === "function" ? value() : value))
35
36type Runner = <A, E, R, E2>(value: Body<A, E, R | Scope.Scope>, layer: Layer.Layer<R, E2>) => Promise<A>
37

Callers 6

isolatedRunFunction · 0.70
sharedRunFunction · 0.70
instanceFunction · 0.70
makeFunction · 0.70
withTmpFunction · 0.50
RunEntryContentFunction · 0.50

Calls 1

valueFunction · 0.50

Tested by 1

withTmpFunction · 0.40