Is there a cron-like scheduler within the engine? For example, every X frames, execute a callback?
Archive 19/01/2023.
Cron-like scheduling within engine?
lebrewer
urnenfeld
This is not exactily what you want, But I have solved similar problem with this approach:
The solution as it is, is not covering cylic events, could be added in the proccesing function, by readding them after being triggered…
lebrewer
Oh, that’s a very interesting approach. Thanks for the snippet!
urnenfeld
You are welcome! Let me know if you add the cyclic capability, I will surely use it too.
Thinking it over it is simplier: you just need to restart the time value after expiration&delivery, instead of removing from the Vector.
However the approach would need also a method for cancelation.