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