-
Notifications
You must be signed in to change notification settings - Fork 419
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
TimerSet: cancel/reset task #76
Comments
looking more into the source code there is another issue which is the one I mentioned in the mailing list: you cannot currently retrieve a reference to the "actor" from inside the object inside/below it. |
JFYI That is fixed in Actor implementation I am working on, see #73. It is in early stages but already working. I hope it will be ready in few weeks. |
thanks for the pointer :) |
I think there is no harm in keeping it open to track it. |
Being addressed in #299 |
nice ! Any rough idea on when it might land into a release ? |
It will be in the next release, v0.9.0. I hope to finish the PR today. |
PR #299, which implements these features, is now ready to be merged. The PR grew in scope and now included significant refactoring to |
Merged in #299. Will be released in v0.9.0. |
In my use case I wanted to use a timer to act as a buffer:
After looking at the code TimerSet might be my friend using the Concurrent::timer() api passing my actor as an executor instead of using the global pool but what I am missing is a way to cancel/reset (as in restart its countdown).
PS: Looking through the source code is like wandering in a big fair with interesting things everywhere ;)
The text was updated successfully, but these errors were encountered: