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

Method onEnd

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

Source from the content-addressed store, hash-verified

99 }
100
101 onEnd<A, E>(value: Exit.Exit<A, E>, fiber: Fiber.RuntimeFiber<A, E>): void {
102 this.left.onEnd(value, fiber)
103 this.right.onEnd(value, fiber)
104 }
105
106 onEffect<A, E>(fiber: Fiber.RuntimeFiber<A, E>, effect: Effect.Effect<any, any, any>): void {
107 this.left.onEffect(fiber, effect)

Callers

nothing calls this directly

Calls 1

onEndMethod · 0.65

Tested by

no test coverage detected