Module sync

Module sync 

Source
Available on crate feature sync only.
Expand description

Synchronous implementation of the lock.

Structs§

MultiResourceGuard
A guard that releases the lock when it is dropped.
MultiResourceLock
A distributed mutual exclusion lock backed by Redis.

Functions§

setup
Initializes a Redis instance with the Lua library functions required for locking.