MCPcopy Create free account
hub / github.com/Effect-TS/effect / causeInterruptors

Function causeInterruptors

packages/effect/src/internal/effect.ts:211–214  ·  view source on GitHub ↗
(self: Cause.Cause<E>)

Source from the content-addressed store, hash-verified

209
210/** @internal */
211export const causeInterruptors = <E>(self: Cause.Cause<E>): ReadonlySet<number> => {
212 const result = causeFilterInterruptors(self)
213 return Result.isFailure(result) ? emptySet : result.success
214}
215const emptySet = new Set<number>()
216
217/** @internal */

Callers

nothing calls this directly

Calls 1

causeFilterInterruptorsFunction · 0.85

Tested by

no test coverage detected