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

Add AsyncJob #105

Closed
zero88 opened this issue Jan 15, 2024 · 0 comments · Fixed by #106 or #108
Closed

Add AsyncJob #105

zero88 opened this issue Jan 15, 2024 · 0 comments · Fixed by #106 or #108
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@zero88
Copy link
Owner

zero88 commented Jan 15, 2024

Is your feature request related to a problem? Please describe.
Support out of the box AsyncJob

Describe the solution you'd like
Make new interface

interface Job<INPUT, OUTPUT> {
    void execute(@NotNull JobData<INPUT> jobData, @NotNull ExecutionContext<OUTPUT> executionContext);
}

interface AsyncJob<INPUT, OUTPUT> extends Job<INPUT, OUTPUT> {
    Future<OUTPUT> asyncExecute(@NotNull JobData<INPUT> jobData, @NotNull ExecutionContext<OUTPUT> executionContext);
}
@zero88 zero88 added the enhancement New feature or request label Jan 15, 2024
@zero88 zero88 added this to the 2.0.0 milestone Jan 15, 2024
@zero88 zero88 self-assigned this Jan 15, 2024
zero88 added a commit that referenced this issue Jan 16, 2024
feat(#105): Add AsyncJob and reactive version (rx3/mutiny)
zero88 added a commit that referenced this issue Jan 16, 2024
zero88 added a commit that referenced this issue Jan 16, 2024
zero88 added a commit that referenced this issue Jan 16, 2024
zero88 added a commit that referenced this issue Jan 16, 2024
zero88 added a commit that referenced this issue Jan 16, 2024
zero88 added a commit that referenced this issue Jan 17, 2024
zero88 added a commit that referenced this issue Jan 17, 2024
zero88 added a commit that referenced this issue Jan 17, 2024
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
1 participant