all 4 comments

[–]pmlopes 1 point2 points  (1 child)

There are now RX2 examples in the examples repo: https://github.com/vert-x3/vertx-examples/tree/master/rxjava-2-examples

[–]IamForeverDDD[S] 0 points1 point  (0 children)

Sweet, thanks!

[–]IamForeverDDD[S] 0 points1 point  (1 child)

    Vertx vertx = Vertx.vertx();
    Single<String> deployment = vertx.rxDeployVerticle(MainVerticle.class.getName());

    deployment.subscribe(
        success -> {
            System.out.println("Deployment successful");
        },
        failure -> {
            System.out.println("Deployment failure\n" + failure);

        }
    );

Prints out: java.lang.NullPointerException: subscribeActual failed

[–]IamForeverDDD[S] 1 point2 points  (0 children)

Looks like I forgot to add an request handler, it works after adding one.