Skip to content

Instantly share code, notes, and snippets.

@vanpelt
Created October 1, 2008 23:28
Show Gist options
  • Save vanpelt/14232 to your computer and use it in GitHub Desktop.
Save vanpelt/14232 to your computer and use it in GitHub Desktop.
def run()
EM.run do
connect_subscribe
end
ensure
AsyncObserver::Queue.queue.connection.close { EM.stop_event_loop }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment