NAME

Kvasir::Runloop - Runs engine(s)

INTERFACE

CLASS METHODS

new

Creates a new runloop instance.

INSTANCE METHODS

add_engine ( ENGINE )

Adds an engine to the runloop.

init

Initializes the runloop. Must be called before step in order for the runloop to work. It called automaticly by run.

step

Performs one iteration in the runloop. Returns 0 when there is no more work to perform.

run

Runs the engine until there is no more work to perform.