2016-12-17から1日間の記事一覧
The second countermeasure of Callback Hell is using co. co is a library which utilizes Generator mechanism and make it easy to write serial and parallel flows. const co = require('co'); const thunkify = require('thunkify') // a function wh…