Class: Task::Queue
Instance Method Summary (collapse)
-
- (Object) schedule
Run a block on a serial queue.
-
- (Object) wait
Wait for all scheduled blocks to finish on a serial queue.
Instance Method Details
- (Object) schedule
Run a block on a serial queue. Blocks will be run on the thread associated to the queue in sequential order. The first block will have to finish before the second block can run.
|
# File 'flow/task/task.rb', line 8
|
- (Object) wait
Wait for all scheduled blocks to finish on a serial queue
|
# File 'flow/task/task.rb', line 20
|