Open vietj opened 6 years ago
@vietj you piqued my curiosity :) Can you elaborate on a concrete use case you had in mind?
retrofit some existing helper method, for instance:
public static Scheduler scheduler(io.vertx.core.Vertx vertx) {
return new ContextScheduler(vertx, false);
}
we get then a scheduler()
method on io.vertx.reactivex.core.Vertx
, etc...
so the goal is to provide a more oo-ish experience when using vertx-rx
Thanks for the details. Indeed, great idea :)
Support extension methods in a similar fashion than Groovy or Kotlin provide.
If on the classpath we have:
Then the generated
Foo
rx wrapper can be augmented with this method: