Closed fgmacedo closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
6187213
) to head (2295c1a
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
5.7% Duplication on New Code
Attempt to fix: #446
Adds a new concept "engine", an internal strategy pattern abstraction for running the transitions and calling callbacks.
There are two engines:
SyncEngine
: Activated if there are no async callbacks. All code runs exactly like pre-2.3.0.AsyncEngine
: Activated if there's at least one async callback. The code runs async and needs a running loop (creates one if not existent)The engines are internal and activated automatically by inspecting the registered callbacks.