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

Function dieSync

packages/effect/src/internal/stm/core.ts:632–636  ·  view source on GitHub ↗
(evaluate: LazyArg<unknown>)

Source from the content-addressed store, hash-verified

630
631/** @internal */
632export const dieSync = (evaluate: LazyArg<unknown>): STM.STM<never> => {
633 const stm = new STMPrimitive(OpCodes.OP_DIE)
634 stm.effect_instruction_i1 = evaluate
635 return stm as any
636}
637
638/** @internal */
639export const effect = <R, A>(

Callers 2

dieFunction · 0.70
dieMessageFunction · 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…