Type Alias LockProviderCreateSettings

LockProviderCreateSettings: { lockId?: string; ttl?: ITimeSpan | null }

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

Type declaration

  • 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.