Skip to content

ZigGreen/deferred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deferred api for Promise

by Mozilla

const dfd = new Deferred();
dfd.promise.then(x => {
    alert(x);
})

dfd.resolve(42);
// dfd.reject(/* some error */);

About

mozilla deferred polyfill

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published