method

invoke

invoke(receiver, method, *args, connection:, &block)
public

No documentation available.

# File actioncable/lib/action_cable/server/worker.rb, line 58
      def invoke(receiver, method, *args, connection,, &block)
        work(connection) do
          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