vertx / io.vertx.lang.groovy / ScriptVerticle / stop

stop

open fun stop(stopFuture: Future<Void>): Unit

Stop the verticle instance.

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

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

Parameters

stopFuture - the future