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

Function failSync

packages/effect/src/internal/stm/core.ts:657–661  ·  view source on GitHub ↗
(evaluate: LazyArg<E>)

Source from the content-addressed store, hash-verified

655
656/** @internal */
657export const failSync = <E>(evaluate: LazyArg<E>): STM.STM<never, E> => {
658 const stm = new STMPrimitive(OpCodes.OP_FAIL)
659 stm.effect_instruction_i1 = evaluate
660 return stm as any
661}
662
663/** @internal */
664export const flatMap = dual<

Callers 1

failFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…