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

Function failSync

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

Source from the content-addressed store, hash-verified

986 * let attempts = 0
987 * const conditionalError = Channel.failSync(() => {
988 * attempts += 1
989 * return `Error after attempt ${attempts}`
990 * })
991 * const observed = [

Callers

nothing calls this directly

Calls 1

fromPullFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…