Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 455 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 455 Bytes

@timelaps/promise

a quick function for controlling how and when a promise resolves its subsequent then and catch handlers.

install with

npm install @timelaps/promise

and see the tests with

npm t

to use simply import at the root

var Promise = require('@timelaps/promise');

or grab the synchronous version

var Promise = require('@timelaps/promise/sync'); // resolves synchronously