Type Alias ILockProviderFactory<TAdapters>

ILockProviderFactory<TAdapters>: {
    use(adapterName?: TAdapters): IGroupableLockProvider;
}

The ILockProviderFactory contract makes it easy to configure and switch between different IGroupableLockProvider dynamically.

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

Type Parameters

  • TAdapters extends string = string

Type declaration