The ISharedLockProviderFactory contract makes it easy to configure and switch between different ISharedLockProvider dynamically.
ISharedLockProviderFactory
ISharedLockProvider
IMPORT_PATH: "@daiso-tech/core/shared-lock/contracts"
"@daiso-tech/core/shared-lock/contracts"
The use method will throw an error if you provide it unregisted adapter. If no default adapter is defined an error will be thrown by use method.
use
Optional
UnregisteredAdapterError
DefaultAdapterNotDefinedError
The
ISharedLockProviderFactorycontract makes it easy to configure and switch between differentISharedLockProviderdynamically.IMPORT_PATH:
"@daiso-tech/core/shared-lock/contracts"