def hit

mylsm-lsm-store@0.3.2.0 · src/CrashPoint.bend:26

import mylsm-lsm-store@0.3.2.0/src/CrashPoint.bend as CrashPoint
import Base
import mylsm-lsm-store@0.3.2.0/src/Console.bend as Console

26# Test-only checkpoint. Environment lookup and activation policy stay in Bend;
27# only marker emission and SIGSTOP remain in the host twins.
28def hit(+name: String) -> IO(Result<&1, &1, U32 & String, Unit>):
29  do IO<Result<&1, &1, U32 & String, Unit>>:
30    configured : String <- IO.try(String, Console.get_env("MYLSM_CRASH_POINT"))
31    hit_decision(enabled(configured, name), name)

Uses (11)

Used by (1)