Once a task is scheduled to happen on a regular basis, there are no ways to stop it. This diff fixes it.
It does so by making the scheduled function return a bool, which will determine if it is to be executed again.
Differential D2011
Add a way to stop scheduleEvery instances. deadalnix on Nov 6 2018, 17:27. Authored by
Details
Once a task is scheduled to happen on a regular basis, there are no ways to stop it. This diff fixes it. It does so by making the scheduled function return a bool, which will determine if it is to be executed again. Add a test case.
Diff Detail
Event Timeline |