lib/never_block/db/fibered_postgres_connection.rb
# Unattaches the connection socket from the event loop
# As with register, EM is the only one supported for now
Unattaches the connection socket from the event loop
As with register, EM is the only one supported for now
Unattaches the connection socket from the event loop As with register EM is the only one supported for now
def unregister_from_event_loop
        if @loop == :em
          @em_connection.unattach(false)
        else
          raise NotImplementedError.new("unregister_from_event_loop not implemented for #{@loop}")
        end
      end
def unregister_from_event_loop if @loop == :em @em_connection . unattach ( false ) else raise NotImplementedError . new ( "unregister_from_event_loop not implemented for #{@loop}" ) end end
Unattaches the connection socket from the event loop
As with register, EM is the only one supported for now
Unattaches the connection socket from the event loop As with register EM is the only one supported for now