Method: MessageBus::Backends::Postgres#last_id
- Defined in:
- lib/message_bus/backends/postgres.rb
#last_id(channel) ⇒ Integer
Get the ID of the last message published on a channel
294 295 296 |
# File 'lib/message_bus/backends/postgres.rb', line 294 def last_id(channel) client.max_id(channel) end |