1
0
mirror of https://github.com/home-assistant/core.git synced 2025-06-26 07:57:12 +00:00
Erik Montnemery 24cd6a8a52
Improve ergonomics of FlowManager.async_show_progress ()
* Improve ergonomics of FlowManager.async_show_progress

* Don't include progress coroutine in web response

* Unconditionally reset progress task when show_progress finished

* Fix race

* Tweak, add tests

* Address review comments

* Improve error handling

* Allow progress jobs to return anything

* Add comment

* Remove unneeded check

* Change API according to discussion

* Adjust typing
2024-01-11 12:00:12 +01:00
..