method

work

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Worker
work(connection, &block) 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 38
      def work(connection, &block)
        self.connection = connection

        run_callbacks :work, &block
      ensure
        self.connection = nil
      end
Register or log in to add new notes.