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

Schedule annotation for asynchronous methods #271

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

njr-11
Copy link
Contributor

@njr-11 njr-11 commented Mar 21, 2023

This corresponds to one of the proposals in #98 - allowing @Schedule on an optional attribute of our existing @Asynchronous. This pattern will encourage the chaining of dependent actions to the completion of the schedule rather than code that waits for a ScheduledFuture to complete.

fixes #98

@njr-11 njr-11 added the enhancement New feature or request label Mar 21, 2023
@njr-11 njr-11 added this to the 3.1 milestone Mar 21, 2023
Copy link
Contributor

@aubi aubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@njr-11 njr-11 merged commit 5a11369 into jakartaee:main Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@Schedule Annotation
2 participants