instance method
perform_work
Ruby on Rails edge
Since edgeSignature
perform_work(receiver, method, *args)
Invoke a method on the connection asynchronously through the pool of thread workers.
Parameters
-
receiverreq -
methodreq -
argsrest
Source
# File actioncable/lib/action_cable/server/socket.rb, line 57
def perform_work(receiver, method, *args)
worker_pool.async_invoke(receiver, method, *args, connection: self)
end
Defined in actioncable/lib/action_cable/server/socket.rb line 57
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Server::Socket