Struct RateLimitRejectedEvent

Namespace
Kevlar
Assembly
Kevlar.dll

Describes an execution rejected by the built-in rate limiter.

public readonly struct RateLimitRejectedEvent
Inherited Members

Properties

Burst

The configured maximum burst capacity.

public int Burst { get; }

Property Value

int

Context

The ambient execution context. It is pooled; do not retain it after synchronous and asynchronous rejection callbacks complete.

public KevlarContext Context { get; }

Property Value

KevlarContext

Permits

The configured permits replenished per Window.

public int Permits { get; }

Property Value

int

QueueLimit

The configured maximum wait queue size.

public int QueueLimit { get; }

Property Value

int

RetryAfter

The estimated delay before another execution can be admitted, when available.

public TimeSpan? RetryAfter { get; }

Property Value

TimeSpan?

Window

The configured replenishment window.

public TimeSpan Window { get; }

Property Value

TimeSpan