RateLimitPartition<TKey> Struct

Definition

public struct RateLimitPartition<TKey>
type RateLimitPartition<'Key> = struct
Public Structure RateLimitPartition(Of TKey)

Type Parameters

TKey

The type to distinguish partitions with.

Inheritance
RateLimitPartition<TKey>

Constructors

RateLimitPartition<TKey>(TKey, Func<TKey,RateLimiter>)

Constructs the RateLimitPartition<TKey> for use in Create<TResource,TPartitionKey>(Func<TResource,RateLimitPartition<TPartitionKey>>, IEqualityComparer<TPartitionKey>).

Properties

Factory

The function called when a rate limiter for the given partitionKey is needed.

PartitionKey

The specific key for this partition.

Applies to