Class: Mutant::Runner::Master
- Inherits:
-
Object
- Object
- Mutant::Runner::Master
- Defined in:
- lib/mutant/runner/master.rb
Overview
Master actor to control workers
Class Method Summary collapse
-
.call(env) ⇒ Actor::Sender
private
Run master runner component.
Class Method Details
.call(env) ⇒ Actor::Sender
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Run master runner component
17 18 19 20 21 |
# File 'lib/mutant/runner/master.rb', line 17 def self.call(env) env.config.actor_env.spawn do |actor| new(env, actor).__send__(:run) end end |