DescriptionMake `TypeSafeStream` extend `Stream`.
This makes it automatically compatible with future additions to `Stream`,
like the `groupBy` method which will be added in SDK version 1.24.
It inherits the default implementation, which will use the `listen` method
of the `TypeSafeStream`, returning a `TypeSafeStreamSubscription`, and will
just have a type check for each event before the listener even sees it.
BUG=
R=floitsch@google.com
Committed: https://github.com/dart-lang/async/commit/daf66909019d2aaec1721fc39d94ea648a9fdc1d
Patch Set 1 #
Total comments: 1
Messages
Total messages: 5 (2 generated)
|