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

Function die

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

Source from the content-addressed store, hash-verified

956 * @since 2.0.0
957 */
958export const die = (defect: unknown): Stream<never> => fromChannel(Channel.die(defect))
959
960/**
961 * The stream that always fails with the specified lazily evaluated `Cause`.

Callers 1

concatChannelsFunction · 0.70

Calls 1

fromChannelFunction · 0.70

Tested by

no test coverage detected