Interface PubSub<T>

Type Parameters:
T - represents the type of data that is published or subscribed
All Known Subinterfaces:
PubSub.PublisherMessage<T>, PubSub.SubscriberMessage<T>
All Known Implementing Classes:
PubSub.Publish, PubSub.Subscribe, PubSub.SubscribeOnly, PubSub.Unsubscribe

public interface PubSub<T>
Represents the protocol or messages about publishing data and subscribing it