Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 595 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 595 Bytes

pact

Probably the smallest promises library that pass all tests!

Promises/A+ logo

Fully Standards compliant (At least passes all tests): https://promisesaplus.com/

And implements a extra facility called Pact.any() which will return first non errored promise, unless all errored in the iterator. These are not well tested though. Pact.all(), Pact.race(), Pact.resolve(x), Pact.reject(e) work according to ECMA spec.