vert-x3 / vertx-lang-ruby

Vert.x Ruby support
Apache License 2.0
14 stars 12 forks source link

Return a vertx future when no code block is passed to an async method #43

Closed vietj closed 5 years ago

vietj commented 5 years ago

This allows to use vertx future with Ruby:

future = vertx.create_net_client.connect(port, address)
future.set_handler { |err,res| ... }
...