Created
February 14, 2018 21:22
-
-
Save jw-jenrise/adc582e30b2cca8e617eefc3a2171c49 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 promiseRemoteData = new Promise(function(resolve,reject){ | |
// 1. Perform ASYNC operation | |
// 2. On completion of remote operation call | |
// - resolve to notify success (pass any values that is required) | |
// - reject to notify error condition | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment