instance method
send_async
Ruby on Rails 7.1.6
Since v5.2.8.1Signature
send_async(method, *arguments)
Invoke a method on the connection asynchronously through the pool of thread workers.
Parameters
-
methodreq -
argumentsrest
Source
# File actioncable/lib/action_cable/connection/base.rb, line 119
def send_async(method, *arguments)
worker_pool.async_invoke(self, method, *arguments)
end
Defined in actioncable/lib/action_cable/connection/base.rb line 119
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::Base