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

Function die

packages/effect/src/Channel.ts:1057–1057  ·  view source on GitHub ↗
(defect: unknown)

Source from the content-addressed store, hash-verified

1055 * @since 4.0.0
1056 */
1057export const die = (defect: unknown): Channel<never, never, never> => failCause(Cause.die(defect))
1058
1059/**
1060 * Uses an effect to write a single value to the channel.

Callers

nothing calls this directly

Calls 1

failCauseFunction · 0.70

Tested by

no test coverage detected