Fix asyncWhere for broadcast streams (dart-lang/stream_transform#33)

Previous implementation may have failed to send onDone for some
listeners since each listener would increment `valuesWaiting` and only
the last listener would decrement it back to zero. There were also
potential bugs if the predicate was non-deterministic.
3 files changed
tree: 31e18d0b47c1952b3871c374c937e7de0f6c43ec
  1. pkgs/