Method: ActionCable::SubscriptionAdapter::PostgreSQL#unsubscribe

Defined in:
lib/action_cable/subscription_adapter/postgresql.rb

#unsubscribe(channel, callback) ⇒ Object



29
30
31
# File 'lib/action_cable/subscription_adapter/postgresql.rb', line 29

def unsubscribe(channel, callback)
  listener.remove_subscriber(channel_identifier(channel), callback)
end