Type Alias ILockProvider

ILockProvider: ILockListenable & {
    create(key: OneOrMore<string>, settings?: LockProviderCreateSettings): ILock;
    getGroup(): string;
}

The ILockProvider contract defines a way for managing locks independent of the underlying technology. It commes with more convient methods compared to ILockAdapter.

IMPORT_PATH: "@daiso-tech/core/lock/contracts"

Type declaration