Class: EM::Batch

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

Overview

Batch of the objects and method names with arguments for runninng on a series.

Instance Method Summary collapse

Instance Method Details

#schedule_call { ... } ⇒ Object

Schedules next call execution.

Yields:



53
54
55
# File 'lib/em-batch.rb', line 53

def schedule_call(&block)
    EM::next_tick(&block)
end

#schedule_tick { ... } ⇒ Object

Schedules next tick execution.

Yields:



44
45
46
# File 'lib/em-batch.rb', line 44

def schedule_tick(&block)
    EM::next_tick(&block)
end