-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(asyncstatemachine): fixes not awaiting or asyncSpawning futures (#…
…1033) * fix(trackedfutures): removes usage of `then` from tracked futures - removes usage of `then`, simplifying the logic, and allowing `then` to be removed completely - updates annotations to reflect that all procs (sync and async) raise no exceptions * fix(asyncstatemachine): fixes not awaiting or asyncSpawning futures - adds a break in scheduler when CancelledError is caught - tracks asyncSpawned state.run, so that it can be cancelled during stop - removes usages of `then` - ensures that no exceptions are leaked from async procs
- Loading branch information
Showing
1 changed file
with
27 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters