Sha256: 6eba636f364544b89e72550840f5b3cf71714d73b67a33719beae2e894c13d1f
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 Bytes
Contents
# frozen_string_literal: true require "action_cable/remote_connections" ActionCable::RemoteConnections::RemoteConnection.include(AnyCable::Rails::Connections::SerializableIdentification) ActionCable::RemoteConnections::RemoteConnection.prepend(Module.new do def disconnect(reconnect: true) # Legacy Action Cable functionality if case we're not fully migrated yet super unless AnyCable::Rails.enabled? ::AnyCable.broadcast_adapter.broadcast_command("disconnect", identifier: identifiers_json, reconnect: reconnect) end end)
Version data entries
4 entries across 4 versions & 1 rubygems