Module: vertx-js/vertx

vertx-js/vertx

Source:

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:

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

Gets the current context
Source:
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:
Returns:
the instance
Type
Vertx