| commit | 17ede9263b8fd69fb857f043db572996dd928c11 | [log] [tgz] |
|---|---|---|
| author | Nate Bosch <nbosch1@gmail.com> | Wed Jul 12 13:27:49 2017 -0700 |
| committer | GitHub <noreply@github.com> | Wed Jul 12 13:27:49 2017 -0700 |
| tree | ad20467969cf03e76635927ad4001e8dca9cdaf3 | |
| parent | ffb0e4374ab8804c1a8013f4fadddb97d40109a1 [diff] |
Add fromBind to replace direct StreamTransformer (dart-lang/stream_transform#35) Fixes dart-lang/stream_transform#34 `new StreamTransformer(onListen)` produces a Stream which can not know whether it is a Broadcast stream. The `bind` method can more directly express the intent of these transformers but adding a class is a lot of boilerplate. Add fromBind to handle these cases.