Skip to content

TypeScript Promise implementation conformant with the PromiseA+ specification.

Notifications You must be signed in to change notification settings

NikitaKhodakovsky/promise-implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promises/A+ logo

TypeScript Promise implementation conformant with the PromiseA+ specification.

This implementation was written while studying the internal implementation of Promise. Do not use this implementation in your projects.

Implemented instance methods:

  • then
  • catch
  • finally

Implemented static methods:

  • resolve
  • reject
  • all
  • allSettled
  • race
  • any

Tests

npm run test:aplus # run PromiseA+ tests.

npm run test:static # run tests for static methods.

npm run test # run all tests.

About

TypeScript Promise implementation conformant with the PromiseA+ specification.

Resources

Stars

Watchers

Forks