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

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.

suspend fun Vertx.deployVerticleAwait(verticle: Verticle): String

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

Parameters

verticle - the verticle instance to deploy

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

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

Parameters

verticle - the verticle instance to deploy

options - the deployment options.

suspend fun Vertx.deployVerticleAwait(verticleSupplier: Supplier<Verticle>, options: DeploymentOptions): String

Like io.vertx.core.Vertx but io.vertx.core.Verticle instance is created by invoking the verticleSupplier.

Parameters

verticleSupplier -

options -