MCPcopy Create free account
hub / github.com/Effect-TS/effect / onEffect

Method onEffect

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

Source from the content-addressed store, hash-verified

104 }
105
106 onEffect<A, E>(fiber: Fiber.RuntimeFiber<A, E>, effect: Effect.Effect<any, any, any>): void {
107 this.left.onEffect(fiber, effect)
108 this.right.onEffect(fiber, effect)
109 }
110
111 onSuspend<A, E>(fiber: Fiber.RuntimeFiber<A, E>): void {
112 this.left.onSuspend(fiber)

Callers

nothing calls this directly

Calls 1

onEffectMethod · 0.65

Tested by

no test coverage detected