lib/mutest/parallel/master.rb
# Run work loop
#
# rubocop:disable MethodLength
#
# @return [undefined]
Run work loop
rubocop:disable MethodLength
Run work loop rubocop : disable MethodLength
def run
        config.jobs.times do
          @workers += 1
          config.env.spawn do |worker_mailbox|
            Worker.run(
              mailbox:   worker_mailbox,
              processor: config.processor,
              parent:    mailbox.sender
            )
          end
        end
        receive_loop
      end
def run config . jobs . times do @workers += 1 config . env . spawn do | worker_mailbox | Worker . run ( mailbox : worker_mailbox , processor : config . processor , parent : mailbox . sender ) end end receive_loop end
Run work loop
rubocop:disable MethodLength
Run work loop rubocop : disable MethodLength
None
undefined