Type Alias SemaphoreProviderCreateSettings

SemaphoreProviderCreateSettings: {
    limit: number;
    slotId?: string;
    ttl?: ITimeSpan | null;
}

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

Type declaration

  • limit: number
  • OptionalslotId?: string
  • Optionalttl?: ITimeSpan | null

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