node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

promise-finally

Promise Finally

NPM version NPM downloads Build status Test coverage

Simple wrapper to run promise "finally" logic.

Installation

npm install promise-finally --save

Usage

import promiseFinally from 'promise-finally'
 
const p = Promise.resolve('something')
 
promiseFinally(p, () => ...)

License

MIT