Skip to content

Instantly share code, notes, and snippets.


codefriar/PromiseUse.cls Secret

Created Jan 31, 2017
What would you like to do?
new Promise(new Demo_PromiseStep())
.then(new Demo_PromiseStep_Two())
// Add as many .then(new someClass()) calls as you need
.error(new Demo_PromiseError())
.done(new Demo_PromiseDone())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment