文件名称:thunk-run:javascript Java语言中的thunk函数和function *的伪造简单基本理解
文件大小:85KB
文件格式:ZIP
更新时间:2024-06-07 21:13:11
generator runner thunk promisify co
Thunkify Runner和Promisify Runner。 用法 与Thunkify功能一起await 。 var fs = require ( "fs" ) ; var path = require ( "path" ) ; var thunkify = require ( "@singcl/thunk-run" ) . thunkify ; var thunkifyRun = require ( "@singcl/thunk-run" ) . thunkifyRun ; var reaFileThunkify = thunkify ( fs . readFile ) ; var filePath = path . resolve ( __dirname , "../package.json" ) ; // Generator Thunk自动执行器单独为一个thunkifyR
【文件预览】:
thunk-run-master
----.gitignore(13B)
----package.json(1KB)
----tslint.json(249B)
----package-lock.json(316KB)
----src()
--------thunkify.js(922B)
--------promisify.ts(905B)
--------thunkifyRun.d.ts(139B)
--------thunkify.ts(963B)
--------promisifyRun.ts(1KB)
--------thunkifyRun.js(745B)
--------thunkifyRun.ts(740B)
--------thunkify.d.ts(483B)
--------promisifyRun.d.ts(99B)
--------promisify.d.ts(281B)
--------promisifyRun.js(993B)
--------promisify.js(869B)
----webpack.config.js(788B)
----dist()
--------bundle.min.js(2KB)
--------bundle.js(9KB)
----index.js(292B)
----tsconfig.json(5KB)
----.eslintrc.js(513B)
----README.md(2KB)
----example()
--------thunkify-tj.exam.js(329B)
--------test.txt(25B)
--------thunkify.exam.js(2KB)
--------thunkifyRun.exam.ts(643B)
--------thunk-es6.js(952B)
--------thunk.exam.js(1KB)
--------promisifyRun.exam.ts(797B)
--------thunk-es5.ts(1012B)
----.eslintignore(5B)
----index.ts(275B)
----.vscode()
--------settings.json(58B)
--------launch.json(435B)
--------cSpell.json(697B)
----thunk.js(869B)
----typings()
--------index.d.ts(155B)
----index.d.ts(384B)