vertx / io.vertx.kotlin.core / io.vertx.core.Vertx / deployVerticleAwait

deployVerticleAwait

suspend fun Vertx.deployVerticleAwait(name: String): String

Like io.vertx.core.Vertx but the completionHandler will be notified when the deployment is complete.

Parameters

name - The identifier

completionHandler - a handler which will be notified when the deployment is complete

suspend fun Vertx.deployVerticleAwait(name: String, options: DeploymentOptions): String

Like io.vertx.core.Vertx but io.vertx.core.DeploymentOptions are provided to configure the deployment.

Parameters

name - the name

options - the deployment options.

completionHandler - a handler which will be notified when the deployment is complete