def with_usage_lock
import cswap-bend-cli@0.1.0.0/ustore.bend as Ustoreimport Base
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/lock.bend as Lock
140def with_usage_lock(-A: Type, +root: String, act: Act.of(A)) -> Act.of(A):
141 Lock.with_lock(A, usage_lock(root), 10000, act)