Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor main loop #8

Merged
merged 11 commits into from
May 24, 2020
Merged

Refactor main loop #8

merged 11 commits into from
May 24, 2020

Conversation

sj-i
Copy link
Member

@sj-i sj-i commented May 24, 2020

  • separate the main loop into classes
  • Loop invokes a chain of LoopProcesses
  • following characteristics of the main loop are divided into separate LoopProcess
    • stop on specific key press
    • retry on known exception
    • nanosleep on each iteration

@sj-i sj-i merged commit d75285f into master May 24, 2020
@sj-i sj-i deleted the refactor_main_loop branch May 28, 2020 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant