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

Function end

repos/effect/packages/effect/src/TxQueue.ts:1264–1265  ·  view source on GitHub ↗
(self: TxEnqueue<A, E | Cause.Done>)

Source from the content-addressed store, hash-verified

1262 *
1263 * // All operations will now fail with Done
1264 * const takeResult = yield* Effect.exit(TxQueue.take(queue))
1265 *
1266 * const peekResult = yield* Effect.exit(TxQueue.peek(queue))
1267 * return [result, takeResult, peekResult] as const
1268 * })

Callers

nothing calls this directly

Calls 2

failCauseFunction · 0.70
failMethod · 0.45

Tested by

no test coverage detected