Liking cljdoc? Tell your friends :D
All platforms.

ca.nickmertin.async-arbiter.protocols

Defines the protocol implemented by arbiters.

Defines the protocol implemented by arbiters.
raw docstring

Arbiterclj/sprotocol

An async-enabled key-based mutual exclusion facility.

An async-enabled key-based mutual exclusion facility.

lock!clj/s

(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!clj/s

(stop! this)

Shuts down the arbiter.

Shuts down the arbiter.

unlock!clj/s

(unlock! this handle)

Unlocks the keys that were locked with lock!.

Unlocks the keys that were locked with lock!.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close