Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ActionCable channel/connection load hooks #35094

Merged
merged 1 commit into from Jan 30, 2019

Conversation

@palkan
Copy link
Contributor

@palkan palkan commented Jan 30, 2019

Summary

This PR adds :action_cable_connection and :action_cable_channel load hooks.

You can use them to extend ActionCable::Connection::Base and ActionCable::Channel::Base functionality:

ActiveSupport.on_load(:action_cable_channel) do
  # do something in the context of ActionCable::Channel::Base
end
@georgeclaghorn georgeclaghorn merged commit 370310b into rails:master Jan 30, 2019
2 checks passed
@palkan palkan deleted the feature/action-cable-load-hooks branch Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants