lib/bolt/transport/base.rb
def batch_task(targets, task, arguments, options = {}, position = [], &callback)
        assert_batch_size_one("batch_task()", targets)
        target = targets.first
        with_events(target, callback, 'task', position) do
          @logger.debug { "Running task '#{task.name}' on #{target.safe_name}" }
          run_task(target, task, arguments, options, position)
        end
      end
# Runs the given task on a batch of targets.
#
# The default implementation only supports batches of size 1 and will fail otherwise.
#
# Transports may override this method to implement their own batch processing.
Runs the given task on a batch of targets.
The default implementation only supports batches of size 1 and will fail otherwise.

Transports may override this method to implement their own batch processing.
Runs the given task on a batch of targets . The default implementation only supports batches of size 1 and will fail otherwise . Transports may override this method to implement their own batch processing .
def batch_task(targets, task, arguments, options = {}, position = [], &callback)
        assert_batch_size_one("batch_task()", targets)
        target = targets.first
        with_events(target, callback, 'task', position) do
          @logger.debug { "Running task '#{task.name}' on #{target.safe_name}" }
          run_task(target, task, arguments, options, position)
        end
      end
def batch_task ( targets , task , arguments , options = { } , position = [ ] , & callback ) assert_batch_size_one ( "batch_task()" , targets ) target = targets . first with_events ( target , callback , 'task' , position ) do @logger . debug { "Running task '#{task.name}' on #{target.safe_name}" } run_task ( target , task , arguments , options , position ) end end
Runs the given task on a batch of targets.
Runs the given task on a batch of targets .
targets
task
arguments
options
position
callback