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.

Parameters

receiver req
method req
args rest
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

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