Class Async


  • public final class Async
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.concurrent.CompletableFuture<java.lang.Void> run​(java.lang.Runnable runnable)  
      static <T> java.util.concurrent.CompletableFuture<T> run​(java.util.concurrent.Callable<T> supplier)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public static <T> java.util.concurrent.CompletableFuture<T> run​(java.util.concurrent.Callable<T> supplier)
      • run

        public static java.util.concurrent.CompletableFuture<java.lang.Void> run​(java.lang.Runnable runnable)