method

work

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Worker
work(connection) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/server/worker.rb, line 37
      def work(connection)
        self.connection = connection

        run_callbacks :work do
          yield
        end
      ensure
        self.connection = nil
      end
Register or log in to add new notes.