Skip to content

Releases: switer/chainjs

Add retry method

02 Dec 08:00
Compare
Choose a tag to compare

Add retry api for try call current step handler once again

Add BDD testing

02 Dec 07:04
Compare
Choose a tag to compare

start() can pass data to initial step.
destroy() stop anything and release private data in chain's scope.
BDD testing

Fix data method bug

17 Nov 08:08
Compare
Choose a tag to compare
Fix data method bug Pre-release
Pre-release

data has old code result in error, it is my fault.

Refactor

17 Nov 07:41
Compare
Choose a tag to compare
Refactor Pre-release
Pre-release
  1. Refactor, make the code more clear
  2. Remove "filter","before","sham" methods, and use "destroy" instead of "stop"
  3. Add "some" for one steps has multiple handlers and need only one to call chain.next()
  4. Support call define multiple handlers in a "then" step, step over after each handler call chain.next()
  5. No more support pass param in step handler, such as:
Chain(func, param).then(func1, param1)

add Chain sham supporting

01 Jan 08:58
Compare
Choose a tag to compare
0.0.3

version update to 0.0.3

Full feature impeletation and docs

27 Dec 06:21
Compare
Choose a tag to compare

Full feature impeletation and docs