Sha256: c91f551cee62bf1304bdc898c1bf420eeec9100580f57fea14b450ccd1643fde
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
module Faye module Patches def stop! @state = Faye::Client::DISCONNECTED info('Disconnecting ?', @dispatcher.client_id) @dispatcher.close info('Clearing channel listeners for ?', @dispatcher.client_id) @channels = Channel::Set.new true end def reconnect(&block) @reconnect_callback = block connect end end end Faye::Client.send(:include, Faye::Patches)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faye-reconnect-0.0.2 | lib/faye/patches/client.rb |