I'm searching for library/concept for managing mul...
# coroutines
d
I'm searching for library/concept for managing multiple Tasks with the following properties • each task's running/stopped/error state can be observed independently (reactively) • tasks can be composed to launch one after another or in parallel. (while still maintaing previous observability property) • each task can read from some shared state before launch and write results to the same state • changes to this state can be observed externally (and reactively) I keep reinventing this stuff internally but it's quite tedious, I keep missing something which leads to missing one of the above properties. Is there some common pattern or library or framework which would allow me to have all of those properties? Or is this list custom enough to go for custom implementation?