# Module: vertx-js/vertx

### 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/vertx.js, line 583

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

Gets the current context

Source:
  - vertx-js/vertx.js, line 603

##### 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/vertx.js, line 565

##### Returns:

the instance

Type
  Vertx