# File lib/amqp/connection.rb, line 37 def self.start(connection_options_or_string = {}, other_options = {}, &block) EM.run do if !@connection || @connection.closed? || @connection.closing? @connection = connect(connection_options_or_string, other_options, &block) end @channel = Channel.new(@connection) @connection end end