28.09.2020, 04:44
(23.09.2020, 14:20)myg Wrote:(23.09.2020, 01:26)benanderson_475 Wrote: if i want to stop a timer from the resident script callback function how can i realize this?
Many Thanks
I've updated library code, you can now call
when you need it to be permanently stoppedCode:timer:stop()
Note that this also removes timer from the event loop, as a side effect, when you have nothing to run, the loop will exit, but resident script will be restarted after specified delay and everything will start over.
@myg Many thanks,