diff --git a/commands2/commandscheduler.py b/commands2/commandscheduler.py index 7777b8c..6e3d3d7 100644 --- a/commands2/commandscheduler.py +++ b/commands2/commandscheduler.py @@ -177,6 +177,8 @@ def schedule(self, *commands: Command) -> None: using those requirements have been scheduled as interruptible. If this is the case, they will be interrupted and the command will be scheduled. + WARNING: using this function directly is often a footgun and should be avoided. Instead Triggers should be used to schedule Commands. + :param commands: the commands to schedule. """ for command in commands: