(exit: Exit.Exit<any, E>)
| 48 | const fiberSet = yield* FiberSet.make<any, WorkerError | E>() |
| 49 | const runFork = Runtime.runFork(runtime) |
| 50 | function onExit(exit: Exit.Exit<any, E>) { |
| 51 | if (exit._tag === "Failure" && !Cause.isInterruptedOnly(exit.cause)) { |
| 52 | Deferred.unsafeDone(closeLatch, Exit.die(Cause.squash(exit.cause))) |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | function onMessage(portId: number) { |
| 57 | return function(event: MessageEvent) { |
nothing calls this directly
no test coverage detected