Exposes methods to subscribe to MessageHandler<T>(T) and publish message to callback those subscriptions.
public interface IPublisher :
System.IDisposable
Derived
↳ World
Implements System.IDisposable
Methods | |
---|---|
Publish<T>(T) | Publishes a T object. |
Subscribe<T>(MessageHandler<T>) | Subscribes an MessageHandler<T>(T) to be called back when a T object is published. |