Registers a callback both as a callback and as an "errback". If the deferred result is already available, the callback is executed immediately from this thread (regardless of whether or not the current result is an exception). If the deferred result is not available, this callback is queued and
(final Callback<R, T> cb)
| 766 | * @return {@code this} with an "updated" type. |
| 767 | */ |
| 768 | public <R> Deferred<R> addBoth(final Callback<R, T> cb) { |
| 769 | return addCallbacks(cb, cb); |
| 770 | } |
| 771 | |
| 772 | /** |
| 773 | * Registers a callback both as a callback and as an "errback". |
no test coverage detected