We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05882d commit 78760c0Copy full SHA for 78760c0
driver-core/src/main/com/mongodb/internal/async/AsyncRunnable.java
@@ -219,18 +219,6 @@ default AsyncRunnable thenRunTryCatchAsyncBlocks(
219
});
220
}
221
222
- default <R> AsyncSupplier<R> thenSupplyTryCatchAsyncBlocks(
223
- final AsyncSupplier<R> supplier,
224
- final Predicate<Throwable> errorCheck,
225
- final AsyncFunction<Throwable, R> errorFunction) {
226
- return this.thenSupply(c -> {
227
- beginAsync()
228
- .thenSupply(supplier)
229
- .onErrorIf(errorCheck, errorFunction)
230
- .finish(c);
231
- });
232
- }
233
-
234
/**
235
* @param condition the condition to check
236
* @param runnable The async runnable to run after this runnable,
0 commit comments