removeHandler<T> method
Removes a handler from a specific topic. Disposes of the EventNode if it exists.
Implementation
@override
void removeHandler<T>({String? path, String? target}) {
_checkNotDisposed();
var t = Topic.create<T>(path: path, target: target);
var node = _eventsMap.remove(t);
if (node != null) {
unawaited(node.dispose());
}
}