mllooper.LooperState#

class mllooper.LooperState(step_iteration: int = 0, total_iteration: int = 0, stop_step: bool = False, stop_loop: bool = False)[source]#

Bases: State

A state object containing information and flags of the looper.

step_iteration: int = 0#

Counter for the iterations in a step of the looper

stop_loop: bool = False#

Flag indication that the looper should stop

stop_step: bool = False#

Flag indication that the current step of the looper should be stopped

total_iteration: int = 0#

Counter for the total iterations over all steps of the looper