Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for catchingAsync (0.26 sec)

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

        return e;
      }
    
      // catchingAsync tests cloned from the old withFallback tests:
    
      public void testCatchingAsync_inputDoesNotRaiseException() throws Exception {
        AsyncFunction<Throwable, Integer> fallback = unexpectedAsyncFunction();
        ListenableFuture<Integer> originalFuture = immediateFuture(7);
        ListenableFuture<Integer> faultTolerantFuture =
    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

        return e;
      }
    
      // catchingAsync tests cloned from the old withFallback tests:
    
      public void testCatchingAsync_inputDoesNotRaiseException() throws Exception {
        AsyncFunction<Throwable, Integer> fallback = unexpectedAsyncFunction();
        ListenableFuture<Integer> originalFuture = immediateFuture(7);
        ListenableFuture<Integer> faultTolerantFuture =
    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

              @Override
              public String toString() {
                return fallback.toString();
              }
            };
        // TODO(dpb): Switch to future.catchingSync when that exists (passing a throwing function).
        return derive(future.catchingAsync(exceptionType, applyFallback, executor));
      }
    
      /**
       * Returns a new {@code ClosingFuture} pipeline step derived from this one by applying a function
    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