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

Function failSync

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

Source from the content-addressed store, hash-verified

619 * @since 2.0.0
620 */
621export const failSync = <E>(evaluate: LazyArg<E>): Sink<never, unknown, never, E> =>
622 fromEffectEnd(Effect.failSync(evaluate))
623
624/**
625 * Creates a sink halting with a specified `Cause`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected