It would be very helpful if there was a variant of Timer.repeating which just returned a Stream.
Contract could be that the Stream starts when the first listener is added, and automatically stops when all listeners are removed.
Also, a Future version of new Timer(duration) would be great, though I'm not sure if the cancel semantics could be captured with this API.
This came up in the context of bug #6832.
The future change is already uploaded (https://chromiumcodereview.appspot.com/12224081/)
Apparently I forgot to ask for a review...
We are intending to add a repeating Stream version too.
Removed Type-Defect label.
Added Type-Enhancement label.
Issue #8729 has been merged into this issue.
Issue #8858 has been merged into this issue.
Fixed with r20021.
Added Fixed label.