promise-toolkit-factory
v2.2.0
Published
Under a promise structure, map functions to create flows free from callbacks; the factory class objects are then lightweight decoupled objects for any new micro-service arrangement.
Maintainers
Readme
Under a promise structure, map functions to create flows free from callbacks; the factory class objects are then lightweight decoupled objects for any new micro-service arrangement.
Included appenders:
- classes - Create one or as many class appender as necessary to run function flows.
- functions - Create your map of functions and how you wish to form a flow.
- promises - How do you wish your flows to execute. Create as many or as few flows as necessary to run any micro-service.
- vars - Define variables which can be used throughout all your functions in all your classes.
- logging - Log4js-tagline is another one of my packages and I use it in the samples below. It now incorporates stack_utils to find the file stack information without explicit references, although both methods are supported.
Installation
npm install promise-toolkit-factoryGeneral Setup Tests.
npm run test_a
npm run test_b
npm run test_c
npm run test_d
