thunk 2018-09-27 本文已影响0人 kevin_lxh thunk 是 一个函数 这个函数只有一个参数是callback函数,且callback函数的第一个参数时error 如 function thunk(cb) { fs.readFile(path, 'utf8', cb) }