Skip to content

Releases: JSideris/Sequencr.js

Promise Encapsulation Update

11 Aug 18:14
Compare
Choose a tag to compare

Callbacks passed into promiseChain and promiseFor no longer need to return a promise - this is now done automatically.

The promiseChain callback is now passed the following arguments (see usage): resolve, reject, preceedingReturnValue

The promiseFor callback is now passed the following arguments (see usage): resolve, reject, i, preceedingReturnValue

New usage for promiseChain and promiseFor - call either resolve or reject when the callback's work is done.

Promise Update

10 Aug 17:26
Compare
Choose a tag to compare

Adds two new promise-based functions: promiseFor and promiseChain. Read about them on the project Wiki.

Better Callbacks and Timeouts Update.

09 Aug 04:21
Compare
Choose a tag to compare
Version 4 Update

Better callbacks + control over timeouts.

Main

10 Jun 17:00
Compare
Choose a tag to compare

Contains the chain, for, and do helpers with loop-breaking when a callback returns false. See the wiki for usage and examples.