MCPcopy Create free account
hub / github.com/effect-app/libs / interrupt

Function interrupt

repos/effect/packages/effect/src/TxQueue.ts:1135–1136  ·  view source on GitHub ↗
(self: TxEnqueue<A, E>)

Source from the content-addressed store, hash-verified

1133 *
1134 * // Interrupt gracefully - allows remaining items to be consumed
1135 * return yield* TxQueue.interrupt(queue)
1136 * })
1137 *
1138 * await Effect.runPromise(program) // => true
1139 * ```

Callers 1

shutdownFunction · 0.70

Calls 2

failCauseFunction · 0.70
interruptMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…