instance method executor

Ruby on Rails edge

Since edge

Signature

executor()

Executor is used by various actions within Action Cable (e.g., pub/sub operations) to run code asynchronously.

Source
# File actioncable/lib/action_cable/server/base.rb, line 132
      def executor
        @executor || @mutex.synchronize { @executor ||= ThreadedExecutor.new(max_size: config.executor_pool_size, name: "streamer") }
      end

Defined in actioncable/lib/action_cable/server/base.rb line 132 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Server::ThreadedExecutor::Base

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