instance method send_async

Ruby on Rails edge

Since edge

Signature

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

method req
arguments rest
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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close