1.var deferred = HERE.$Promise.deferred();
async-callback(function(data){
deferred.resolve(data);
});
return deferred.promise;
2.new HERE.$Promise(function(resolve,reject){
async-callback(function(data){
resolve(data);
});
});
-
Notifications
You must be signed in to change notification settings - Fork 0
kouyjes/promise
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published