vertx / io.vertx.rxjava.ext.consul / Watch / events

# events

`open static fun events(event: String, vertx: Vertx): Watch<EventList>`

Creates `Watch` to monitoring the custom user events. The underlying Consul client will be created with default options. This maps to the /v1/event/list API internally.

### Parameters

`event` - the event name

`vertx` - the `Vertx` instance

Return
the `Watch` instance

`open static fun events(event: String, vertx: Vertx, options: ConsulClientOptions): Watch<EventList>`

Creates `Watch` to monitoring the custom user events. This maps to the /v1/event/list API internally.

### Parameters

`event` - the event name

`vertx` - the `Vertx` instance

`options` - the options to create underlying Consul client

Return
the `Watch` instance