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

Function onExit

packages/cluster/src/RunnerServer.ts:75–84  ·  view source on GitHub ↗
(
            exit: Exit.Exit<
              any,
              ClusterError.EntityNotAssignedToRunner
            >
          )

Source from the content-addressed store, hash-verified

73 fiberRefs: parent.getFiberRefs()
74 })
75 const onExit = (
76 exit: Exit.Exit<
77 any,
78 ClusterError.EntityNotAssignedToRunner
79 >
80 ) => {
81 if (exit._tag === "Failure") {
82 resume(exit as any)
83 }
84 }
85 const fiber = Runtime.runFork(runtime)(storage.registerReplyHandler(message))
86 fiber.addObserver(onExit)
87 Runtime.runFork(runtime)(Effect.catchTag(

Callers

nothing calls this directly

Calls 1

resumeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…