# 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 516

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

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

  ##### 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 498

  ##### Returns:

  the instance
  Type
    Vertx