vertx / io.vertx.ext.consul / Watch / nodes

# nodes

`open static fun nodes(vertx: Vertx): Watch<NodeList>`

Creates `Watch` to monitoring the list of available nodes. The underlying Consul client will be created with default options. This maps to the /v1/catalog/nodes API internally.

### Parameters

`vertx` - the `Vertx` instance

Return
the `Watch` instance

`open static fun nodes(vertx: Vertx, options: ConsulClientOptions): Watch<NodeList>`

Creates `Watch` to monitoring the list of available nodes. This maps to the /v1/catalog/nodes API internally.

### Parameters

`vertx` - the `Vertx` instance

`options` - the options to create underlying Consul client

Return
the `Watch` instance