-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Description
Since Event.Event allows multiple handlers for the same event, it'd be nice if there was built-in support for waiting m-ticks by taking the current tick and adding m then registering a wrapper function with on_nth_tick that will unregister itself when done. This would allow for functionality similar to SetTimout in JavaScript since we already have something similar to SetInterval.
I will admit, I haven't found a specific use case for this ability, but that's likely a case of chicken and egg.