Module: vertx-js/future

vertx-js/future

Source:

Classes

Future

Methods

<static> Future.failedFuture(failureMessage) → {Future}

Create a failed future with the specified failure message.
Parameters:
Name Type Description
failureMessage string the failure message
Source:
Returns:
the future
Type
Future

<static> Future.future() → {Future}

Create a future that hasn't completed yet
Source:
Returns:
the future
Type
Future

<static> Future.succeededFuture(result) → {Future}

Created a succeeded future with the specified result.
Parameters:
Name Type Description
result Object the result
Source:
Returns:
the future
Type
Future