MCPcopy Create free account
hub / github.com/effect-app/libs / succeed

Function succeed

repos/effect/packages/effect/src/Stream.ts:827–827  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

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`.
829 *
830 * **Example** (Failing with a cause)

Callers 2

resultFunction · 0.70
Stream.tsFile · 0.70

Calls 3

fromChannelFunction · 0.70
ofMethod · 0.65
succeedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…