Provides a mechanism to receive topical notifications from a Mediator instance.
K extends keyof T
- The topics this subscriber supports.
readonly
participantId: symbol
The unique identifier for this participant.
publish(message: ParticipantTopicMessage<T>): void
Publishes a message to the mediator.
subscribe(mediator: TBaseMediator<PubSubTopics<T>>): IDisposable
Subscribes the participant to a mediator.