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

# executePreparedQueryAwait

`suspend fun ConsulClient.executePreparedQueryAwait(query: String): 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.

`resultHandler` - will be provided with response

Returnreference
to this, for fluency *