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

Function interrupt

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

Source from the content-addressed store, hash-verified

104
105/** @internal */
106export const interrupt = (fiberId: FiberId.FiberId): Cause.Cause<never> => {
107 const o = Object.create(proto)
108 o._tag = OpCodes.OP_INTERRUPT
109 o.fiberId = fiberId
110 return o
111}
112
113/** @internal */
114export 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