subscribe<T> abstract method
Subscribe to events on a specific topic.
Implementation
StreamSubscription<T> subscribe<T>({String? path, String? target,void Function(T e)? onData, Function? onError, void Function()? onDone, bool? cancelOnError});