Tags: async

Broken Promises


Around 2012 I found out about Promises. I realized that they solve a lot of the pain points I have with async JavaScript, namely pushing error handling to the edges, elegantly making sure only one completion is allowed (preventing numerous accidental race conditions) and allowing composition of async operations in a unified interface. I was convinced and became a fanboy and advocate. Since then I’ve become disillusioned.


Posted 2016-02-02T05:00:00.000Z.