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. |
||
---|---|---|
.. | ||
codex | ||
contracts | ||
fixtures | ||
helpers | ||
integration | ||
checktest.nim | ||
config.nims | ||
ethertest.nim | ||
examples.nim | ||
helpers.nim | ||
logging.nim | ||
testCodex.nim | ||
testContracts.nim | ||
testIntegration.nim |