Configuring shared-lock adapters
MemorySharedLockAdapter
MemorySharedLockAdapter
Implementing your custom ISharedLockAdapter
The @daiso-tech/core/shared-lock component provides a way for managing shared-locks (a.k.a reader writer locks) independent of underlying platform or storage.
The SharedLockProviderFactory class provides a flexible way to configure and switch between different shared-lock adapters at runtime.