Job<Void> (@NotNull Runnable action, Consumer<? super Future<?>> onDoneCallback) { action.run(); if (onDoneCallback != null) { onDoneCallback.accept(CompletableFuture.completedFuture(null)); } return Job.nullJob(); }