Commit Graph

6 Commits

Author SHA1 Message Date
Alain Emilia Anna Zscheile f3864c9175 stepper: turn Step into a tristate-producer (Pending, Yielded, Completed) 2024-10-08 13:24:21 +02:00
Alain Emilia Anna Zscheile 10d778c807 stepper: get rid of unused parts 2024-10-08 13:24:21 +02:00
Alain Emilia Anna Zscheile efca1178f8 autorouter: simplify MeasureLength(ExecutionStepper) (Stepper is a misnormer, fixed here) 2024-10-08 13:24:21 +02:00
Alain Emilia Anna Zscheile 2fdb8aee6c feat(stepper,autorouter): get rid of Step::finish 2024-10-08 13:24:21 +02:00
Alain Emilia Anna Zscheile 4171443c45 stepper: refactoring
* put `Error` as an associated type into separate trait
* make `Step::finish` generic over O instead of Step
* introduce `PollStep` trait including `finish` method
* use `PollStep` in GUI, fix infinitely repeating errors
* replace {Activity,Invoker,Interaction}Status with Poll<String>
* `PollStep` provides `Step<_, Poll<_>>`

Fixes #78.
2024-10-08 13:24:21 +02:00
Mikolaj Wielgus e08a59cd74 stepper: add `Abort` trait to abort steppers 2024-10-01 19:07:40 +02:00