(exit: MicroExit<any, any>)
| 1419 | const fibers = new Set<MicroFiber<any, any>>() |
| 1420 | const causes: Array<MicroCause<any>> = [] |
| 1421 | const onExit = (exit: MicroExit<any, any>) => { |
| 1422 | doneCount++ |
| 1423 | if (exit._tag === "Failure") { |
| 1424 | causes.push(exit.cause) |
| 1425 | if (doneCount >= len) { |
| 1426 | resume(failCause(causes[0])) |
| 1427 | } |
| 1428 | return |
| 1429 | } |
| 1430 | done = true |
| 1431 | resume(fibers.size === 0 ? exit : flatMap(uninterruptible(fiberInterruptAll(fibers)), () => exit)) |
| 1432 | } |
| 1433 | |
| 1434 | for (let i = 0; i < len; i++) { |
| 1435 | if (done) break |
no test coverage detected
searching dependent graphs…