Currently it's only possible to schedule one-shot tasks comfortably. scheduler.wait() will change this because it would be possible to create an actual co-op thread -like thing that can run with more accurate timing and using a nicer API. This avoids the quirks of setTimeout() and presumably setInterval().
Currently it's only possible to schedule one-shot tasks comfortably.
scheduler.wait()will change this because it would be possible to create an actual co-op thread -like thing that can run with more accurate timing and using a nicer API. This avoids the quirks ofsetTimeout()and presumablysetInterval().