Skip to content

Instantly share code, notes, and snippets.

@tchaton
Created November 2, 2021 15:17
loop.py
class Loop:
def run(self):
self.reset()
self.on_run_start()
while not self.done:
self.advance()
return self.on_run_end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment