-
Notifications
You must be signed in to change notification settings - Fork 154
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
feat: Add SchedulerTask which will be notified once cancelled. #1593
Conversation
actor/src/main/scala/org/apache/pekko/actor/LightArrayRevolverScheduler.scala
Outdated
Show resolved
Hide resolved
db126f1
to
7f4c70c
Compare
I'm not sure that we could add this in a v1.1 patch. I'd prefer if we delay this till v1.2.0. |
I'm fine with this, but as the current method is add as a default method, it should be fine too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
actor-tests/src/test/scala/org/apache/pekko/actor/SchedulerSpec.scala
Outdated
Show resolved
Hide resolved
I'm quite worried that these tests will be brittle in CI. The CI agents can often suffer from performance issues and tests can take longer to run than on laptops, etc. |
/** | ||
* A Task that will be notified when it is cancelled. | ||
* | ||
* @since 1.2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the since annotation
Motivation:
refs: #1579
Tests is still missing