MCPcopy Create free account
hub / github.com/effect-app/libs / fiberInterruptAll

Function fiberInterruptAll

repos/effect/packages/effect/src/internal/effect.ts:841–850  ·  view source on GitHub ↗
(
  fibers: A
)

Source from the content-addressed store, hash-verified

839 failed = true
840 cancels.forEach((cancel) => cancel())
841 return resume(exit as any)
842 }
843 out[i] = exit.value
844 if (done === fibers.length) {
845 resume(succeed(out))
846 }
847 }))
848 }
849 return sync(() => {
850 failed = true
851 cancels.forEach((cancel) => cancel())
852 })
853 })

Callers 5

fiberInterruptChildrenFunction · 0.85
onExitFunction · 0.85
raceAllFunction · 0.85
raceAllFirstFunction · 0.85
effect.tsFile · 0.85

Calls 4

fiberStackAnnotationsFunction · 0.85
asVoidFunction · 0.85
fiberAwaitAllFunction · 0.85
interruptUnsafeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…