Promise.all accepts promises, not functions that returns promises.
I can't feel anything painfull with promises, you can thread arrow function
as a shorthand class that implements interface version.
This class accepts contextual variables as constructor parameters, stores
them in fields, what makes them available once "execute" method is called.
Execute method accepts also value returned by predecessor, and value
returned by execute is passed to successor.
By the way many compilers work similarly behind the code.



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/

Reply via email to