subscribeStream method
Subscribes to this SyncEventLine with a priority
which defaults to
EventPriority.normal and returns all events as a Stream.
Implementation
EventLineStream<T> subscribeStream({int priority = EventPriority.normal}) {
var controller = StreamController<T>.broadcast();
var subscription =
subscribe((p0) => controller.add(p0), priority: priority);
return EventLineStream<T>(subscription, controller.stream);
}