`nextFrame` function is something that needs to be...
# gamedev
o
nextFrame
function is something that needs to be implemented to have coroutines work well for updates. It would suspend execution of current function until next frame, and when it resumes, it would return time passed since it was suspended.