Class: Pgbus::Web::Streamer::StreamEventDispatcher::PresenceTouchMessage

Inherits:
Data
  • Object
show all
Defined in:
lib/pgbus/web/streamer/stream_event_dispatcher.rb

Overview

Posted by the Heartbeat once per tick with the current presence connections, so the touch (a last_seen_at refresh) runs on the dispatcher thread where AR connections are released each pass.

Instance Attribute Summary collapse

Instance Attribute Details

#connectionsObject (readonly)

Returns the value of attribute connections

Returns:

  • (Object)

    the current value of connections



41
42
43
# File 'lib/pgbus/web/streamer/stream_event_dispatcher.rb', line 41

def connections
  @connections
end