4 ms·
> Now I run into situations where promises cascade up from a few async calls and affect every API built on top of them Can you elaborate what you meant by that
by yblu 10y ago
> Now I run into situations where promises cascade up from a few async calls and affect every API built on top of them
Can you elaborate what you meant by that?
- jmtulloss 10y agoIf you have a synchronous function that suddenly needs to do something asynchronous, then everything that uses that function needs to become async too. http://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y...
- cheriot 10y agoExactly, thanks.