instance method
send_async
Ruby on Rails edge
Since edgeSignature
send_async(method, *arguments)
Invoke a method on this socket through the pool of thread workers. These calls run one at a time, in the order they were made, so a client’s commands are handled in the order it sent them.
Parameters
-
methodreq -
argumentsrest
Source
# File actioncable/lib/action_cable/server/socket.rb, line 70
def send_async(method, *arguments)
worker_pool.async_invoke(self, method, *arguments, executor: @serial_executor)
end
Defined in actioncable/lib/action_cable/server/socket.rb line 70
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Server::Socket