Type Alias ISharedLockProviderFactory<TAdapters>

ISharedLockProviderFactory: {
    use(adapterName?: TAdapters): ISharedLockProvider;
}

The ISharedLockProviderFactory contract makes it easy to configure and switch between different ISharedLockProvider dynamically.

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

Type Parameters

  • TAdapters extends string = string

Type declaration