Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AsyncCallable (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 23.0
       */
      public static <O extends @Nullable Object> ListenableFuture<O> submitAsync(
          AsyncCallable<O> callable, Executor executor) {
        TrustedListenableFutureTask<O> task = TrustedListenableFutureTask.create(callable);
        executor.execute(task);
        return task;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         */
        public <V extends @Nullable Object> ClosingFuture<V> callAsync(
            AsyncCombiningCallable<V> combiningCallable, Executor executor) {
          AsyncCallable<V> asyncCallable =
              new AsyncCallable<V>() {
                @Override
                public ListenableFuture<V> call() throws Exception {
                  return new Peeker(inputs).callAsync(combiningCallable, closeables);
                }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
Back to top