ReactiveX / rxdart

The Reactive Extensions for Dart

Home Page:http://reactivex.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueStream has no value

cedvdb opened this issue · comments

void main(List<String> arguments) {
  BehaviorSubject controller = BehaviorSubject.seeded(3, sync: true);
  final mapped = controller.stream.map((v) => v * 2).shareValue();
  mapped.listen((_) {});
  print(mapped.value);
}

value stream should have a value there