A simpler alternative to Promises in Javascript.