Type Alias SharedLockProviderCreateSettings

SharedLockProviderCreateSettings: {
    limit: number;
    lockId?: string;
    ttl?: ITimeSpan | null;
}

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

Type declaration

  • limit: number
  • OptionallockId?: string

    You can provide a custom lock id. If not specified a unique lock id will be generated by default.

  • Optionalttl?: ITimeSpan | null

    You can also provide a settings.ttl value using. If not specified it defaults to null, meaning no TTL is applied.