vertx / io.vertx.reactivex.core / Future / otherwiseEmpty

# otherwiseEmpty

`open fun otherwiseEmpty(): Future<T>`

Map the failure of a future to `null`.

This is a convenience for `future.otherwise((T) null)`.

When this future fails, the `null` value will complete the future returned by this method call.

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

Return
the mapped future