CrashPoint.hit_decision: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/CrashPoint.bend as CrashPoint Lines 10-16 of mylsm-lsm-store@0.6.0.1/src/CrashPoint.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/CrashPoint.bend&start_line=10&end_line=16 import Base # Resolve the hit for decision for the crash injection interface. def hit_decision(active: Bool, name: String) -> IO(Result<&1, &1, U32 & String, Unit>): match active: case True{}: stop(name) case False{}: IO.pure(Result<&1, &1, U32 & String, Unit>, Done{Unit{}}) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/CrashPoint.bend&name=stop