def lock.live
import cswap-bend-cli@0.1.0.0/warn.bend as Warnimport Base
import cswap-bend-cli@0.1.0.0/pollrow.bend as Pollrow
85def lock.live(sentinel: Maybe<&2, String>, +row: Pollrow.Row, +slot: String, models: List<&2, String>, +now: U32, ls: LS) -> LS:
86 match sentinel:
87 case Some{s}:
88 ls
89 case None{}:
90 lock.step(usage_key(Pollrow.decision_usage(row, models, now)), slot, ls)