Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream for Timer.repeating #8477

Closed
blois opened this issue Feb 11, 2013 · 6 comments
Closed

Stream for Timer.repeating #8477

blois opened this issue Feb 11, 2013 · 6 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. type-enhancement A request for a change that isn't a bug

Comments

@blois
Copy link
Contributor

blois commented Feb 11, 2013

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
Copy link
Contributor

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
Copy link
Contributor

Issue #8729 has been merged into this issue.

@floitschG
Copy link
Contributor

Issue #8858 has been merged into this issue.

1 similar comment
@sethladd
Copy link
Contributor

sethladd commented Mar 4, 2013

Issue #8858 has been merged into this issue.

@floitschG
Copy link
Contributor

Fixed with r20021.

@floitschG
Copy link
Contributor

Added Fixed label.

@blois blois added Type-Enhancement area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Mar 14, 2013
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants