@esfx/async-lockable Package
A low-level Symbol-based common API for async coordination primitives.
Installation
npm i @esfx/async-lockable
Usage
TBD
Interfaces
AsyncLockable
Represents a value that can be used to synchronize access to a resource.
LockHandle<TMutex>
An object used to release a held lock.
UpgradeableLockHandle<TMutex, TUpgradedMutex>
An object used to release a held lock or upgrade to a stronger lock.