StreamController.addFuture #16187
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
core-n
library-async
type-enhancement
A request for a change that isn't a bug
Would be nice if StreamController had an addFuture method which added the result of the future once the future completed, or an error if the future errors out. Folks don't always remember to handle the error case.
In addition, it would be great if StreamController had a constructor from a list of Futures which essentially did the same thing.
The text was updated successfully, but these errors were encountered: