vertx / io.vertx.lang.groovy / ScriptVerticle / start

start

open fun start(startFuture: Future<Void>): Unit

Start the verticle instance.

Vert.x calls this method when deploying the instance. You do not call it yourself.

A future is passed into the method, and when deployment is complete the verticle should either call io.vertx.core.Future#complete or io.vertx.core.Future#fail the future.

Parameters

startFuture - the future