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

Function die

packages/effect/src/internal/stream.ts:1938–1938  ·  view source on GitHub ↗
(defect: unknown)

Source from the content-addressed store, hash-verified

1936
1937/** @internal */
1938export const die = (defect: unknown): Stream.Stream<never> => fromEffect(Effect.die(defect))
1939
1940/** @internal */
1941export const dieSync = (evaluate: LazyArg<unknown>): Stream.Stream<never> => fromEffect(Effect.dieSync(evaluate))

Callers 1

stream.tsFile · 0.70

Calls 2

fromEffectFunction · 0.70
dieMethod · 0.65

Tested by

no test coverage detected