Class InternalAsyncFutureUtils


  • @Internal
    public class InternalAsyncFutureUtils
    extends Object
    A collection of utilities that expand the usage of AsyncFuture. Only for internal usage.
    • Constructor Detail

      • InternalAsyncFutureUtils

        public InternalAsyncFutureUtils()
    • Method Detail

      • completedVoidFuture

        public static <V> InternalAsyncFuture<V> completedVoidFuture()
        Returns a completed future that does nothing and return null.
      • completedFuture

        public static <V> InternalAsyncFuture<V> completedFuture​(V result)
        Returns a completed future that does nothing and return provided result.