private static Future<Void> runTask(Executor executor, Runnable runnable) {
        return getFuture(executor, () -> {
            runnable.run();
            return null;
        });
    }
Fills this result and returns the future where it is filled.
container-search/src/main/java/com/yahoo/search/searchchain/AsyncExecution.java