Created
May 4, 2016 05:38
-
-
Save esbanarango/eeeca8ce80d9d8198676ccc3d050d77d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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