Skip to content

Instantly share code, notes, and snippets.

@codefriar

codefriar/PromiseUse.cls Secret

Created Jan 31, 2017
Embed
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())
.execute(param);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.