Skip to content

RateLimitPartitionFactory

RateLimitPartitionFactory = (context) => string | undefined

Defined in: packages/pipeline-rate-limit/src/helpers/partitioned-key.ts:19

Resolves the stable caller/partition identifier used by createPartitionedRateLimitKeyFactory.

Typical values are an authenticated user ID, account ID, API-client ID, or a trusted transport identity copied into context.items by an earlier behavior.

IPipelineContext

string | undefined