Created
November 2, 2021 15:17
loop.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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