3 ms·
I wouldn't necessarily say they make for more reusable functions. I think primarily their purpose is to provide a cleaner abstraction for dealing with async cod
by taternuts 10y ago
I wouldn't necessarily say they make for more reusable functions. I think primarily their purpose is to provide a cleaner abstraction for dealing with async code flow. Plus I just love seeing code like:
doSomething.then(stepTwo).then(stepThree).catch(errHandler);