Flowdock
method

invoke

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Worker
invoke(receiver, method, *args, 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 55
      def invoke(receiver, method, *args, connection,, &block)
        work(connection) do
          begin
            receiver.send method, *args, &block
          rescue Exception => e
            logger.error "There was an exception - #{e.class}(#{e.message})"
            logger.error e.backtrace.join("\n")

            receiver.handle_exception if receiver.respond_to?(:handle_exception)
          end
        end
      end
Register or log in to add new notes.