runAsync

Returns a new CompletableFuture that is asynchronously completed by a task running in the given executor after it runs the given action.

@param runnable the action to run before completing the returned CompletableFuture @param executor the executor to use for asynchronous execution @return the new CompletableFuture

  1. CompletableFuture!(void) runAsync(Runnable runnable)
  2. CompletableFuture!(void) runAsync(Action act)
  3. CompletableFuture!(void) runAsync(Runnable runnable, Executor executor)
    runAsync

Meta