ReceptionistSubscribeRejected
Este conteúdo não está disponível em sua língua ainda.
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.
Type Parameters
Section titled “Type Parameters”T = unknown
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ReceptionistSubscribeRejected<
T>(key,reason,limit):SubscribeRejected<T>
Defined in: src/discovery/ReceptionistMessages.ts:88
Parameters
Section titled “Parameters”ServiceKey<T>
reason
Section titled “reason”ReceptionistSubscribeRejectionReason
number
Returns
Section titled “Returns”SubscribeRejected<T>
Properties
Section titled “Properties”
readonlykey:ServiceKey<T>
Defined in: src/discovery/ReceptionistMessages.ts:89
readonlylimit:number
Defined in: src/discovery/ReceptionistMessages.ts:91
reason
Section titled “reason”
readonlyreason:ReceptionistSubscribeRejectionReason
Defined in: src/discovery/ReceptionistMessages.ts:90
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: src/discovery/ReceptionistMessages.ts:93
Returns
Section titled “Returns”string
