instance method perform_work

Ruby on Rails edge

Since edge

Signature

perform_work(receiver, method, *args)

Invoke a method on the connection asynchronously through the pool of thread workers. Like the connection’s commands, these calls run one at a time, in the order they were made.

Parameters

receiver req
method req
args rest
Source
# File actioncable/lib/action_cable/server/socket.rb, line 63
      def perform_work(receiver, method, *args)
        worker_pool.async_invoke(receiver, method, *args, connection: self, executor: @serial_executor)
      end

Defined in actioncable/lib/action_cable/server/socket.rb line 63 · 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