    def restart(self):
        """Restart the scheduler

        The restart is not instantenous and
        will occur after the scheduler finishes
        checking one cycle of tasks."""
        self.scheduler._flag_restart.set()
Restart the scheduler

The restart is not instantenous and
will occur after the scheduler finishes
checking one cycle of tasks.
rocketry/session.py