QueueRunner
Manages the queue tick loop and subprocess lifecycle.
Only initialized in the main process. Responsible for polling the queue, popping jobs, and spawning CLI sub-processes to execute scenarios.
Attributes
tick_is_running: boolFunctions
deinit @classmethod
Stop the queue tick loop.
init @classmethod
Start the queue tick loop. Only call from main process.
tick_interval :
int - 60 daemon :
bool - False try_run_next @classmethod
Trigger an immediate tick if the runner is active.
Called after a job is added to avoid waiting for the next scheduled tick. No-op in sub-processes where the runner is not running.