Interface IHandlerToken<T>
- Type Parameters:
T- The type of the event associated to the token.
public interface IHandlerToken<T>
Represents a token associated to a particular
IEventBus and handler that allows for the removal of
the handler from the event bus.
This interface acts simply as a marker interface, and objects of this type shall be treated by the client as mere tokens. Their actual value should not be inspected nor it has to be meaningful, as solely the event bus that has constructed the instance needs to be able to handle objects of this type.
- Since:
- 11.0.0