method
invoke
v5.0.0.1 -
Show latest stable
- Class:
ActionCable::Server::Worker
invoke(receiver, method, *args, connection:, &block)public
No documentation available.
# 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