Forwards into SubEvent.count of the contained event.
Forwards into SubEvent.maxSubs of the contained event.
Forwards into SubEvent.getStat of the contained event.
Optional
options: { Optional
minForwards into SubEvent.once of the contained event.
Optional
options: ISubOptionsForwards into SubEvent.subscribe of the contained event.
Optional
options: ISubOptionsForwards into SubEvent.toPromise of the contained event.
Optional
options: { Optional
name?: stringOptional
timeout?: number
Encapsulates an event object, in order to hide its methods SubEvent.emit and SubEvent.cancelAll, so the event consumer can only receive the event, but cannot emit it, or cancel other subscriptions.
It is a non-extendable class, with the same signature as SubEvent, minus emit and cancelAll.