Function
onExit
(
exit: Exit.Exit<
any,
ClusterError.EntityNotAssignedToRunner
>
)
Source from the content-addressed store, hash-verified
| 93 | fiberRefs: parent.getFiberRefs() |
| 94 | }) |
| 95 | const onExit = ( |
| 96 | exit: Exit.Exit< |
| 97 | any, |
| 98 | ClusterError.EntityNotAssignedToRunner |
| 99 | > |
| 100 | ) => { |
| 101 | if (exit._tag === "Failure") { |
| 102 | resume(exit as any) |
| 103 | } |
| 104 | } |
| 105 | const fiber = Runtime.runFork(runtime)(storage.registerReplyHandler(message)) |
| 106 | fiber.addObserver(onExit) |
| 107 | Runtime.runFork(runtime)(Effect.catchTag( |
Callers
nothing calls this directly
Tested by
no test coverage detected