AsyncResult.otherwiseEmpty

Map the failure of this async result to {@code null}.<p>

This is a convenience for {@code asyncResult.otherwise((T) null)}.<p>

When this async result fails, the {@code null} will succeeed the async result returned by this method call.<p>

When this async succeeds, the result will be propagated to the returned async result.

@return the mapped async result

interface AsyncResult(T)
final
otherwiseEmpty
()

Meta