Skip to content

gabmontes/promise-prototype-finally

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polyfill for Promise.prototype.finally

Minimal polyfill for the yet-non-standard Promise.prototype.finally function, based on @domenic comment on promises specification.

The objective of this finally implementation is to provide syntactic sugar over raw promises for executing an action after a promise resolves or rejects while not altering the original result.

Install

npm install promise-prototype-finally

License

WTFPL

About

Minimal polyfill for the `Promise.prototype.finally` function

Resources

License

Stars

Watchers

Forks

Packages

No packages published