- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for transformAsync (0.07 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} @SuppressWarnings("FutureTransformAsync") // We intentionally test transformAsync. public void testTransformAsync_genericsWildcard_asyncFunction() throws Exception { ListenableFuture<?> nullFuture = immediateVoidFuture(); ListenableFuture<?> chainedFuture = transformAsync(nullFuture, x -> immediateFuture("hi"), directExecutor()); assertThat(getDone(chainedFuture)).isEqualTo("hi");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} @SuppressWarnings("FutureTransformAsync") // We intentionally test transformAsync. public void testTransformAsync_genericsWildcard_asyncFunction() throws Exception { ListenableFuture<?> nullFuture = immediateVoidFuture(); ListenableFuture<?> chainedFuture = transformAsync(nullFuture, x -> immediateFuture("hi"), directExecutor()); assertThat(getDone(chainedFuture)).isEqualTo("hi");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
}; return derive(state.future.transformAsync(applyFunction, executor)); } /** * Returns an {@link AsyncClosingFunction} that applies an {@link AsyncFunction} to an input, * ignoring the DeferredCloser and returning a {@code ClosingFuture} derived from the returned * {@link ListenableFuture}. * * <p>Use this method to pass a transformation to {@link #transformAsync(AsyncClosingFunction,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)