statebox
Orchestrate Node functions using Amazon States Language
Useful links
- https://aws.amazon.com/step-functions/
- http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
- http://docs.aws.amazon.com/step-functions/latest/apireference/API_SendTaskSuccess.html
Install
$ npm install statebox --save
Usage
const Statebox = const statebox = // STEP 1:// Create some 'module' resources (i.e. Javascript // classes with 'run' and optional 'init' methods) // that state machines can then refer to...// ------------------------------------------------- statebox // STEP 2:// Next create a new 'calculator' state// machine using Amazon States Language...// --------------------------------------- const info = statebox // STEP 3:// Start a new execution on a state machine// ---------------------------------------- statebox // STEP 4:// Look at the results...// ----------------------statebox
Testing
$ npm test