Class: Mutant::Runner::Master

Inherits:
Object
  • Object
show all
Defined in:
lib/mutant/runner/master.rb

Overview

Master actor to control workers

Class Method Summary collapse

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

Parameters:

Returns:



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