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