Defines the protocol implemented by arbiters.
Defines the protocol implemented by arbiters.
An async-enabled key-based mutual exclusion facility.
An async-enabled key-based mutual exclusion facility.
(lock! this keys)
Locks the given keys, returning a channel which produces a lock handle when the locking is complete. unlock! must be called with the handle to unlock the keys.
Locks the given keys, returning a channel which produces a lock handle when the locking is complete. unlock! must be called with the handle to unlock the keys.
(stop! this)
Shuts down the arbiter.
Shuts down the arbiter.
(unlock! this handle)
Unlocks the keys that were locked with lock!.
Unlocks the keys that were locked with lock!.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close