# Module: vertx-js/future

## vertx-js/future

Source:
  - future.js, line 3

### 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:
    - future.js, line 144

  ##### Returns:

  the future
  Type
    Future

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

  Create a future that hasn't completed yet
  Source:
    - future.js, line 114

  ##### 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:
    - future.js, line 128

  ##### Returns:

  the future
  Type
    Future