Skip to content

Commit d8f7db7

Browse files
authored
Update README.md
1 parent ae4d193 commit d8f7db7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ Promise<T> exceptionallyAsync(Function<Throwable, ? extends T> fn);
6363
Promise<T> exceptionallyAsync(Function<Throwable, ? extends T> fn, Executor executor);
6464
Promise<T> exceptionallyCompose(Function<Throwable, ? extends CompletionStage<T>> fn);
6565
Promise<T> exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>> fn);
66-
Promise<T> exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>> fn, Executor executor);
66+
Promise<T> exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>> fn,
67+
Executor executor);
6768
```
6869

6970
Plus, there are several overloads of the filtering operator that complements canonical `map/flatMap` (or `thenApply/thenCompose` in terms of the `CompletionStage` API), available since version [0.9.0](https://github.com/vsilaev/tascalate-concurrent/releases/tag/0.9.1):
@@ -73,7 +74,8 @@ Promise<T> thenFilter(Predicate<? super T> predicate, Function<? super T, Throwa
7374
Promise<T> thenFilterAsync(Predicate<? super T> predicate);
7475
Promise<T> thenFilterAsync(Predicate<? super T> predicate, Function<? super T, Throwable> errorSupplier);
7576
Promise<T> thenFilterAsync(Predicate<? super T> predicate, Executor executor);
76-
Promise<T> thenFilterAsync(Predicate<? super T> predicate, Function<? super T, Throwable> errorSupplier, Executor executor);
77+
Promise<T> thenFilterAsync(Predicate<? super T> predicate, Function<? super T, Throwable> errorSupplier,
78+
Executor executor);
7779
```
7880

7981
Besides this, there are numerous operators in the `Promise` API to work with timeouts and delays, to override default asynchronous executor and similar. All of them will be discussed later.

0 commit comments

Comments
 (0)