Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for catchingAsync (0.17 seconds)

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

        };
      }
    
      // 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 =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        };
      }
    
      // 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 =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (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(state.future.catchingAsync(exceptionType, applyFallback, executor));
      }
    
      /**
       * Returns a new {@code ClosingFuture} pipeline step derived from this one by applying a function
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top