# Module: vertx-js/vertx

## vertx-js/vertx

Source:
  - vertx.js, line 3

### Classes

Vertx

### Methods

#### <static> Vertx.clusteredVertx(options, resultHandler)

  Creates a clustered instance using the specified options.

  The instance is created asynchronously and the resultHandler is called with the result when it is ready.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `options` | Object | the options to use
  `resultHandler` | function | the result handler that will receive the result

  Source:
    - vertx.js, line 518

#### <static> Vertx.currentContext() → {Context}

  Gets the current context
  Source:
    - vertx.js, line 538

  ##### Returns:

  The current context or null if no current context
  Type
    Context

#### <static> Vertx.vertx(options) → {Vertx}

  Creates a non clustered instance using the specified options

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `options` | Object | the options to use

  Source:
    - vertx.js, line 500

  ##### Returns:

  the instance
  Type
    Vertx