0.0.13 • Published 10 years ago

reactions v0.0.13

Weekly downloads
50
License
MIT
Repository
github
Last release
10 years ago

Reactions

Build Status

Reactions is a javascript (node and browser) library based around the

Reaction

  function (context, done)

and Done

  function (error, result)

For general purpose async helpers see caolan/async(https://github.com/caolan/async Async) - An active project with good documentation

API:

jsdoc generated documentation

Reaction.fn & Reaction.make

Reactions.fn contains functions operating on Reaction functions and accepting initial context and done. For example

  Reactions.fn.parallel(arrayOfReactions, context, done);

while Reactions.make provide functions doing partial execution of the Reactions.fn ones. The result of the partial execution matches the Reaction function signature:

  var compositeReaction = Reactions.make.parallel(arrayOfReactions)
  compositeReaction(context, done);

Note: Reactions.make is automatically generated from Reactions.fn with the expectation that the last two arguments of all functions are context and done.

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago