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

Method onEffect

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

Source from the content-addressed store, hash-verified

53 }
54
55 onEffect<A, E>(fiber: Fiber.RuntimeFiber<A, E>, effect: Effect.Effect<any, any, any>): void {
56 this.underlying.onEffect(fiber, effect)
57 }
58
59 onSuspend<A, E>(fiber: Fiber.RuntimeFiber<A, E>): void {
60 this.underlying.onSuspend(fiber)

Callers

nothing calls this directly

Calls 1

onEffectMethod · 0.65

Tested by

no test coverage detected