Optional
emitEmit options for event SubEventCount.onCount.
Optional
maxMaximum number of subscribers that can receive events.
Default is 0, meaning no limit applies
.
Newer subscriptions outside the maximum quota will start receiving events when the older subscriptions get cancelled.
Optional
onNotification about a cancelled subscription.
(ctx: ISubContext<T>) => void;
ctx
: ISubContext - Subscription Context.
Optional
onNotification of a new subscriber being registered.
(ctx: ISubContext<T>) => void;
ctx
: ISubContext - Subscription Context.
Constructor options for SubEventCount class.