The ISharedLockFactoryResolver contract makes it easy to configure and switch between different ISharedLockFactory dynamically.
ISharedLockFactoryResolver
ISharedLockFactory
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
The
ISharedLockFactoryResolvercontract makes it easy to configure and switch between differentISharedLockFactorydynamically.IMPORT_PATH:
"@daiso-tech/core/shared-lock/contracts"