Can you tell with 100% of confidence that addToCache is not making an additional asynchronous request? Is it adding to the memory cache in a module’s variable or is it persisting to redis?
Promises + Sync Code = Disaster
Fagner Brack
93
This is not a problem with using promises at all. You can write such bad code without them.