Listening to Subscriber Events
The Subscriber(s) included in the SDK are event emitters that have a basic API for subscribing and unsubscribing to events either by name or by wildcard.
To subscribe to all events from a subscriber:
The
*
type assignment is considered a “Wildcard” subscription – all events being issued by the subscriber instance will invoke the assign event handler.
To unsubscribe to all events from a subscriber after assinging an event handler:
The following sections of this document describe the event types that can also be listened to directly, instead of using the *
wildcard.