Skip to content

Instantly share code, notes, and snippets.

@purplefox
Created January 21, 2013 18:11
Show Gist options
  • Save purplefox/4588033 to your computer and use it in GitHub Desktop.
Save purplefox/4588033 to your computer and use it in GitHub Desktop.
require "vertx"
Vertx::EventBus.register_handler('test.address') do |message|
puts "Executing on thread #{java.lang.Thread.currentThread}"
100.times do |i|
puts "count is #{i}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment