Ir al contenido
Español

ReceptionistSubscribeRejected

Esta página aún no está disponible en tu idioma.

Defined in: src/discovery/ReceptionistMessages.ts:87

Refusal sent to a Subscribe’s replyTo when a subscriber cap is full.

Answering is the point: the subscriber set is bounded so a buggy or hostile actor cannot grow it without limit, and a bound that drops requests silently would turn that protection into a debugging puzzle. limit is the configured value of reason, so the recipient can log what it was up against without reading the operator’s config.

T = unknown

new ReceptionistSubscribeRejected<T>(key, reason, limit): SubscribeRejected<T>

Defined in: src/discovery/ReceptionistMessages.ts:88

ServiceKey<T>

ReceptionistSubscribeRejectionReason

number

SubscribeRejected<T>

readonly key: ServiceKey<T>

Defined in: src/discovery/ReceptionistMessages.ts:89


readonly limit: number

Defined in: src/discovery/ReceptionistMessages.ts:91


readonly reason: ReceptionistSubscribeRejectionReason

Defined in: src/discovery/ReceptionistMessages.ts:90

toString(): string

Defined in: src/discovery/ReceptionistMessages.ts:93

string