MCPcopy Index your code
hub / github.com/Effect-TS/effect / onSuspend

Method onSuspend

packages/effect/src/internal/supervisor.ts:111–114  ·  view source on GitHub ↗
(fiber: Fiber.RuntimeFiber<A, E>)

Source from the content-addressed store, hash-verified

109 }
110
111 onSuspend<A, E>(fiber: Fiber.RuntimeFiber<A, E>): void {
112 this.left.onSuspend(fiber)
113 this.right.onSuspend(fiber)
114 }
115
116 onResume<A, E>(fiber: Fiber.RuntimeFiber<A, E>): void {
117 this.left.onResume(fiber)

Callers

nothing calls this directly

Calls 1

onSuspendMethod · 0.65

Tested by

no test coverage detected