removeHandler<T> method
Removes a handler from a specific topic.
Implementation
@override
void removeHandler<T>({List<String>? paths, String? separator}) {
_checkNotDisposed();
final topic = Topic.create<T>(
paths: paths, separator: separator ?? defaultTopicPathSeparator);
_requestHandlers.remove(topic);
final node = _nodeByTopic(topic);
if (node != null) {
removeNode(topic, node);
}
}