acts-next 0.15.5

a fast, tiny, extensiable workflow engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
console.info('running step1 package');

let inputs = act.inputs();
console.log(`inputs.a=${inputs.a}`);

// set input to inputs.a + 100
// it will show 110 with workflow outputs
act.set('input', inputs.a + 100);

// update hte step data to 'abc'
// the data will send by msg1
act.set('my_data', 'abc');

console.log(`state=${act.state()}`);