Create a gist now

Instantly share code, notes, and snippets.

require 'eventmachine'
EM.run do
EM.add_periodic_timer(1) do
puts "time elapsed"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment