Class: SseCable::MessageQueue

Inherits:
Object
  • Object
show all
Defined in:
lib/sse_cable/message_queue.rb

Instance Method Summary collapse

Constructor Details

#initializeMessageQueue

Returns a new instance of MessageQueue.



5
6
7
# File 'lib/sse_cable/message_queue.rb', line 5

def initialize
  # Initialize message queue
end

Instance Method Details

#dequeueObject



13
14
15
# File 'lib/sse_cable/message_queue.rb', line 13

def dequeue
  # Dequeue the next event from the message queue
end

#enqueue(event) ⇒ Object



9
10
11
# File 'lib/sse_cable/message_queue.rb', line 9

def enqueue(event)
  # Enqueue an event in the message queue
end