Class: OMQ::CLI::PullRunner

Inherits:
BaseRunner show all
Defined in:
lib/omq/cli/push_pull.rb

Overview

Runner for PULL sockets (receive-only pipeline consumer).

Instance Attribute Summary

Attributes inherited from BaseRunner

#config, #sock

Instance Method Summary collapse

Methods inherited from BaseRunner

#initialize

Constructor Details

This class inherits a constructor from OMQ::CLI::BaseRunner

Instance Method Details

#call(task) ⇒ Object



13
14
15
# File 'lib/omq/cli/push_pull.rb', line 13

def call(task)
  config.parallel ? run_parallel_workers(:PULL) : super
end