Type Alias: DriverLock
DriverLock =
object
A lock granted by a MutexDriver: what its holder gives back to release or renew it.
Properties
fence?
optionalfence?:number
The fencing token: a number increasing with each acquisition in the store, given by the memory and Redis drivers and the table mode of PostgreSQL and MySQL; undefined for the file driver and the advisory locks.
token
token:
string
The random token identifying the holder (32 hexadecimal characters); the store only releases or renews the lock for it.