(shared: Shared, exit: Exit.Exit<any, any>)
| 6199 | } |
| 6200 | /** Hands the exit to the callers. Nothing is stored and the entry doesn't change. */ |
| 6201 | const endShared = (shared: Shared, exit: Exit.Exit<any, any>): void => { |
| 6202 | sharedFetches.delete(shared) |
| 6203 | if (shared.entry.shared === shared) shared.entry.shared = undefined |
| 6204 | const fiber = shared.fiber |
| 6205 | shared.fiber = undefined |
| 6206 | if (exit._tag === "Failure" && fiber !== undefined) fiber.interruptUnsafe() |
| 6207 | resumeAll(shared.callers, callerExit(exit)) |
| 6208 | } |
| 6209 | const startShared = ( |
| 6210 | entry: Entry, |
| 6211 | build: Build, |
no test coverage detected