Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Stream for Timer.repeating #8477

Closed
blois opened this Issue · 6 comments

3 participants

@blois

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.

@floitschG
Collaborator

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.

@floitschG
Collaborator

Issue #8729 has been merged into this issue.

@floitschG
Collaborator

Issue #8858 has been merged into this issue.

@sethladd
Owner

Issue #8858 has been merged into this issue.

@floitschG
Collaborator

Fixed with r20021.

@floitschG
Collaborator

Added Fixed label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.