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

Function interrupt

packages/effect/src/internal/cause.ts:105–110  ·  view source on GitHub ↗
(fiberId: FiberId.FiberId)

Source from the content-addressed store, hash-verified

103
104/** @internal */
105export const interrupt = (fiberId: FiberId.FiberId): Cause.Cause<never> => {
106 const o = Object.create(proto)
107 o._tag = OpCodes.OP_INTERRUPT
108 o.fiberId = fiberId
109 return o
110}
111
112/** @internal */
113export const parallel = <E, E2>(left: Cause.Cause<E>, right: Cause.Cause<E2>): Cause.Cause<E | E2> => {

Callers 4

flipCauseOptionFunction · 0.70
linearizeFunction · 0.70
cause.tsFile · 0.70
FilterCauseReducerFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…