共 2 篇文章
自己实现一个简单的 thunkify 来了解一下原理
Turn a regular node function into one which returns a thunk, useful for generator-based flow control such as co.