vertx / io.vertx.kotlin.ext.consul / io.vertx.ext.consul.ConsulClient / executePreparedQueryWithOptionsAwait

# executePreparedQueryWithOptionsAwait

`suspend fun ConsulClient.executePreparedQueryWithOptionsAwait(query: String, options: PreparedQueryExecuteOptions): PreparedQueryExecuteResponse`

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

Return
reference to this, for fluency *