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

Function endUnsafe

packages/effect/src/Queue.ts:1055–1055  ·  view source on GitHub ↗
(self: Enqueue<A, E | Done>)

Source from the content-addressed store, hash-verified

1053 * @since 4.0.0
1054 */
1055export const endUnsafe = <A, E>(self: Enqueue<A, E | Done>) => failCauseUnsafe(self, core.causeFail(core.Done()))
1056
1057/**
1058 * Interrupts the queue gracefully, transitioning it to a closing state.

Callers

nothing calls this directly

Calls 1

failCauseUnsafeFunction · 0.85

Tested by

no test coverage detected