bem-flow
v1.0.1
Published
``` let flow = require('bem-flow'); yield flow.run(steps,context); ```
Downloads
6
Readme
let flow = require('bem-flow');
yield flow.run(steps,context);
steps
[{
"code":""
}]
context
//存储flow过程中的状态数据 context.data
//step结束时需要调用,第一个参数为err context.done = function(e){}