vertx / io.vertx.reactivex.ext.consul / ConsulClient / executePreparedQueryWithOptions

# executePreparedQueryWithOptions

`open fun executePreparedQueryWithOptions(query: String, options: PreparedQueryExecuteOptions, resultHandler: Handler<AsyncResult<PreparedQueryExecuteResponse>>): ConsulClient`

Executes an existing prepared query.

### Parameters

`query` - the ID of the query to execute. This can also be the name of an existing prepared query, or a name that matches a prefix name for a prepared query template.

`options` - the options used to execute prepared query

`resultHandler` - will be provided with response

Return
reference to this, for fluency