Type Alias IRateLimiterData<TType>

IRateLimiterData: { expiration: Date; state: TType }

IMPORT_PATH: "@daiso-tech/core/rate-limiter/contracts"

Type Parameters

  • TType = unknown

Type declaration

  • expiration: Date

    The expiration date and time of the lock. null indicates the lock does not expire.

  • state: TType