MCPcopy Index your code
hub / github.com/Effect-TS/effect / deferredInterrupt

Function deferredInterrupt

packages/effect/src/internal/core.ts:2949–2950  ·  view source on GitHub ↗
(self: Deferred.Deferred<A, E>)

Source from the content-addressed store, hash-verified

2947
2948/* @internal */
2949export const deferredInterrupt = <A, E>(self: Deferred.Deferred<A, E>): Effect.Effect<boolean> =>
2950 flatMap(fiberId, (fiberId) => deferredCompleteWith(self, interruptWith(fiberId)))
2951
2952/* @internal */
2953export const deferredInterruptWith = dual<

Callers

nothing calls this directly

Calls 1

interruptWithFunction · 0.85

Tested by

no test coverage detected