glyph / automat

Self-service finite-state machines for the programmer on the go.
MIT License
591 stars 65 forks source link

automat: the next generation #137

Closed glyph closed 2 months ago

glyph commented 2 years ago

Fixes #145

obviously needs tests and perhaps some more thought (in particular… how would feedback state-changes work here?) but I think this might be cleaner than the methodical machine

Stuff to do before landing:

codecov-commenter commented 2 years ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2da0af1) 91.82% compared to head (9466e8f) 94.18%.

Files Patch % Lines
automat/_typical.py 99.19% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## trunk #137 +/- ## ========================================== + Coverage 91.82% 94.18% +2.36% ========================================== Files 11 13 +2 Lines 1260 1806 +546 ========================================== + Hits 1157 1701 +544 - Misses 103 105 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

glyph commented 3 months ago

(moved to description to get progress bar)

glyph commented 3 months ago

before: twisted application _client_service ClientMachine dot too-busy after: twisted application _client_service ClientMachine dot