DbLock.wait.attempt.decision: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/DbLock.bend as DbLock Lines 172-177 of mylsm-lsm-store@0.6.0.1/src/DbLock.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/DbLock.bend&start_line=172&end_line=177 import Base import mylsm-lsm-store@0.6.0.1/src/DbLockPolicy.bend as Policy # Separates contention from fatal lock errors while preserving host details. def wait.attempt.decision(error: U32 & String) -> AttemptDecision: match error: case (+code, message): Bool.pick(AttemptDecision, Policy.busy_code(code), Contended{}, Failed{(code, message)}) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma 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=mylsm-lsm-store@0.6.0.1/src/DbLock.bend&name=AttemptDecision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/DbLockPolicy.bend&name=busy_code