iterator-runner
v0.1.0
Published
iterator runner
Downloads
4
Readme
iterator-runner
Usage
var request = require('request')
var run = require('iterator-runner')
run(function *() {
try {
var result = yield request.bind(null, {
method: 'GET',
url: 'http://www.google.com'
})
console.log(result)
} catch (err) {
console.error(err)
}
})
Reference
http://blog.vullum.io/nodejs-javascript-flow-fibers-generators/
LICENSE
iterator-runner is licensed under the MIT license.