QuotaTrackerOptions
Auto-generated API reference for QuotaTrackerOptions.
Interface: QuotaTrackerOptions
Defined in: quota.ts:47
#Properties
#env?
optionalenv?:string
Defined in: quota.ts:50
Active environment tag ('production', 'staging', β¦).
#now?
optionalnow?: () =>number
Defined in: quota.ts:54
Wall clock β overridable for tests.
#Returns
number
#onExceeded?
optionalonExceeded?: (event) =>void
Defined in: quota.ts:52
Sink for quota events.
#Parameters
event
#Returns
void
#quotas
quotas:
QuotaMap
Defined in: quota.ts:48