3e80de3454
* Simplify `.then` (promise api) and tests * Remove tracked future when cancelled. Add tracked future tests * Track and cancel statemachine futures The futures created in each asyncstatemachine instance are tracked, and each future is cancelled and waited in `stop`. Change `asyncstatemachine.stop` to be async so `machine.trackedFutures.cancelAndWait` could be called. Add a constructor for `asyncstatemachine` that initialises the `trackedFutures` instance, and call the constructor from derived class constructors. |
||
---|---|---|
.. | ||
states | ||
helpers.nim | ||
testreservations.nim | ||
testsales.nim | ||
testsalesagent.nim | ||
testslotqueue.nim | ||
teststates.nim |