Describe the feature
Basically what title says.
New event system lacking way to DISABLE its execution at all when not needed, this is essential for tick event. so when there is no job i can just disable its execution during idle, with on runontick i could disable it when i want.
Second thing - we can't use return inside event function, it says like "return called outside of function". must use exit() instead.
Thanks.
What problem does this solve?
No exit() usage in events, and disable events when not need to fire (save ops).
Describe the feature
Basically what title says.
New event system lacking way to DISABLE its execution at all when not needed, this is essential for tick event. so when there is no job i can just disable its execution during idle, with on runontick i could disable it when i want.
Second thing - we can't use return inside event function, it says like "return called outside of function". must use exit() instead.
Thanks.
What problem does this solve?
No exit() usage in events, and disable events when not need to fire (save ops).