Skip to content
From 0.5.0 the packages continue as @cqrs-ddd, documented at aristoteliss.github.io/ddd-cqrs; NestJS applications add @cqrs-ddd/nestjs. This site documents the 0.4.x line.

RateLimitKeyFactory

RateLimitKeyFactory = (context) => string

Defined in: packages/pipeline-rate-limit/src/interfaces/rate-limit-options.interface.ts:15

Derives the rate-limit bucket key from the pipeline context — e.g. combine context.requestName with a tenant or user id to limit per caller.

IPipelineContext

string