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

Function onFailure

repos/effect/packages/effect/src/Stream.ts:7169–7174  ·  view source on GitHub ↗
(cause_)

Source from the content-addressed store, hash-verified

7167 * const array = useLeft ? yield* pullLeft : yield* pullRight
7168 * return [array, !useLeft] as const
7169 * })
7170 * )
7171 * )
7172 *
7173 * const program = Effect.gen(function*() {
7174 * const values = yield* Stream.runCollect(stream)
7175 * values // => [ 1, 2, 10, 20 ]
7176 * })
7177 *

Callers 1

Result.tsFile · 0.70

Calls 3

ofMethod · 0.65
takeAllMethod · 0.65
succeedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…