abstract class SyncVerticle : AbstractVerticle
A `Verticle` which runs its `start` and `stop` methods using fibers. You should subclass this class instead of `AbstractVerticle` to create any verticles that use vertx-sync.
Author
Tim Fox
SyncVerticle()
A `Verticle` which runs its `start` and `stop` methods using fibers. You should subclass this class instead of `AbstractVerticle` to create any verticles that use vertx-sync. |
open fun start(startFuture: Future<Void>): Unitopen fun start(): Unit
Override this method in your verticle |
|
open fun stop(stopFuture: Future<Void>): Unitopen fun stop(): Unit
Optionally override this method in your verticle if you have cleanup to do |