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 will be invoked from whichever thread gives this deferred its initial result by calling {@link #callback}. @param cb The callback to register. @return {@code this} with an "updated" type.
|
|