Class: EM::Sequencer

Inherits:
CallbackSequencer
  • Object
show all
Defined in:
lib/em-batch.rb

Overview

Sequencer for running batches upon single object.

Instance Method Summary collapse

Constructor Details

#initialize(target) ⇒ Sequencer

Constructor.

Parameters:

  • target (Object)

    target object



25
26
27
28
# File 'lib/em-batch.rb', line 25

def initialize(target)
    super
    @batch = Batch::new
end