Skip to content

Add AsyncJob #105

Closed
Closed
@zero88

Description

@zero88

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);
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions