watchStream<T> method
Subscribes to stream and writes events to node, cancelling on disposal.
Implementation
StreamSubscription<T> watchStream<T>(
ZenithNode<AsyncValue<T>> node,
Stream<T> stream,
) {
return ref.watchStream(node, stream);
}