package io.vertx.examples;

import io.vertx.core.AbstractVerticle;

/**
 * This verticle uses the Maven Service Factory to deploy `my-verticle`.
 */
public class MyDeployingVerticle extends AbstractVerticle {


  @Override
  public void start() throws Exception {
    // The `my-verticle` is deployed using the follwoing convention:
    // `maven:` + groupId + `:` + artifactId + `:` + version + `::` + verticle name
    vertx.deployVerticle("maven:io.vertx:maven-service-factory-verticle:3.1.0-SNAPSHOT::my-verticle");
  }
}

@@ -59,16 +59,45 @@
 erticle;
+%0Aimport io.vertx.core.Future;
 %0A%0A/**%0A *
@@ -265,16 +265,35 @@
 d start(
+Future%3CVoid%3E future
 ) throws
@@ -360,10 +360,10 @@
 foll
-w
 o
+w
 ing 
@@ -558,16 +558,179 @@
 erticle%22
+,%0A        ar -%3E %7B%0A          if (ar.succeeded()) %7B%0A            future.complete();%0A          %7D else %7B%0A            future.fail(ar.cause());%0A          %7D%0A        %7D%0A    
 );%0A  %7D%0A%7D

Use async start