Details
Description
Asynchronous functions should be made composable just as straight functions are.
If funA(funB
) is valid, so should asyncFunA(asyncFunB
) be valid and return a promise for a result. The result must obviously match the one of the synchronous variant.