Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for whenAllComplete (0.17 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<String> unused;
    
        // Compiles:
        unused = whenAllComplete(futureA, futureB).call(combiner, directExecutor());
    
        // Does not compile:
        // unused = whenAllComplete(futures).call(combiner);
    
        // Workaround for the above:
        unused = whenAllComplete(asList(futures)).call(combiner, directExecutor());
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<String> unused;
    
        // Compiles:
        unused = whenAllComplete(futureA, futureB).call(combiner, directExecutor());
    
        // Does not compile:
        // unused = whenAllComplete(futures).call(combiner);
    
        // Workaround for the above:
        unused = whenAllComplete(asList(futures)).call(combiner, directExecutor());
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     the arguments, or if any has already been {@linkplain #finishToFuture() finished}
       */
      public static Combiner whenAllComplete(
          ClosingFuture<?> future1, ClosingFuture<?>... moreFutures) {
        return whenAllComplete(asList(future1, moreFutures));
      }
    
      /**
       * Starts specifying how to combine {@link ClosingFuture}s into a single pipeline, assuming they
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top