asStream method

  1. @override
Stream<T> asStream()
override

Implementation

@override Stream<T> asStream() {
  StreamController<T> controller = BehaviorSubject();

  this._streams.add(controller);
  return controller.stream;
}