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

Function failSync

packages/effect/src/Stream.ts:825–825  ·  view source on GitHub ↗
(evaluate: LazyArg<E>)

Source from the content-addressed store, hash-verified

823 * @since 2.0.0
824 */
825export const failSync = <E>(evaluate: LazyArg<E>): Stream<never, E> => fromChannel(Channel.failSync(evaluate))
826
827/**
828 * Creates a stream that fails with the specified `Cause`.

Callers

nothing calls this directly

Calls 1

fromChannelFunction · 0.70

Tested by

no test coverage detected