The ILockFactory contract defines a way for managing locks independent of the underlying technology. It comes with more convenient methods compared to ILockAdapter.
ILockFactory
ILockAdapter
IMPORT_PATH: "@daiso-tech/core/lock/contracts"
"@daiso-tech/core/lock/contracts"
The create method is used to create an instance of ILock.
create
ILock
Optional
The
ILockFactorycontract defines a way for managing locks independent of the underlying technology. It comes with more convenient methods compared toILockAdapter.IMPORT_PATH:
"@daiso-tech/core/lock/contracts"