Registers a callback. If the deferred result is already available and isn't an exception, the callback is executed immediately from this thread. If the deferred result is already available and is an exception, the callback is discarded. If the deferred result is not available, this callback is q
(final Callback<R, T> cb)
| 718 | * @return {@code this} with an "updated" type. |
| 719 | */ |
| 720 | public <R> Deferred<R> addCallback(final Callback<R, T> cb) { |
| 721 | return addCallbacks(cb, Callback.PASSTHROUGH); |
| 722 | } |
| 723 | |
| 724 | /** |
| 725 | * Registers a callback. |
nothing calls this directly
no test coverage detected