文件名称:node-flat-flow:微小的流量
文件大小:8KB
文件格式:ZIP
更新时间:2024-07-05 07:36:08
CoffeeScript
概括 带有条件分支的微小流。 安装 npm install flat-flow --save 用法 { flow } = require 'flat-flow' # This is how to use me. flow [ # 1-arity functions are called and result from (err, result) merged with locals. # If you pass an error as first arg, the whole flow will be finished, see the bottom. (done) -> done null, { a: 1, b: 2 } # 0-arity functions that return boolean manage the flow; false will al
【文件预览】:
node-flat-flow-master
----src()
--------index.coffee(2KB)
----lib()
--------index.js(2KB)
----spec()
--------spec-index.coffee(6KB)
----examples()
--------mongodb.coffee(618B)
----LICENSE(1KB)
----Gruntfile.coffee(684B)
----README.md(2KB)
----.gitignore(535B)
----package.json(821B)