The type of the payload data received by the handler.
The type of the value returned by the handler.
Defaults to void, which means nothing is returned.
The payload sent with the topic message.
Optional additional message handler arguments injected by MessageInterceptor(s).
The handler's result, which may be returned synchronously or as a promise.
Defaults to void, which means nothing is returned.
A function that handles messages published to a specific Topic.
Message handlers are registered using MessageBus.subscribe or MessageBus.subscribeOnce. They are invoked whenever a message is published to the corresponding topic.