Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Promises/A+ logo

GPromise

A small promise library implementing the Promises/A+ spec (Version 1.1).

Basic Usage

const examplePromise = new GPromise(resolve => {
    setTimeout(() => {
        resolve('done')
    }, 1000)
})

// logs `done` after 1s
examplePromise.then(result => {
    console.log(result)
})

About

A small promise library implementing the Promises/A+ spec

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.