handlerTopicFor method

Topic? handlerTopicFor(
  1. Topic topic
)

The registered topic of the handler that would answer topic, or null when no handler accepts it.

Intended for transports: an incoming request may arrive on several overlapping subscriptions, but only the node whose topic equals the handler's registration topic must answer it.

Implementation

Topic? handlerTopicFor(Topic topic) => _resolveHandler(topic)?.topic;