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

Function hasInterruptsOnly

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

Source from the content-addressed store, hash-verified

216
217/** @internal */
218export const hasInterruptsOnly = <E>(self: Cause.Cause<E>): boolean =>
219 self.reasons.length > 0 && self.reasons.every(isInterruptReason)
220
221/** @internal */
222export const reasonAnnotations = <E>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected