Skip to content

Instantly share code, notes, and snippets.

@esbanarango
Created May 4, 2016 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esbanarango/eeeca8ce80d9d8198676ccc3d050d77d to your computer and use it in GitHub Desktop.
Save esbanarango/eeeca8ce80d9d8198676ccc3d050d77d to your computer and use it in GitHub Desktop.
var promise = new Promise(function(resolve) {
Ember.run.later((() => {
resolve();
}), 5000);
});
return promise.then(() => {
return 'I was sleeping';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment