【文件属性】:
文件名称:seqqu:把所有东西按顺序
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-30 19:06:28
JavaScript
seqqu - 将所有内容按顺序排列
这是什么:
一个基于 Promise(ES6+) 的序列结构库(像 javascript 数组一样使用)
如何使用这个:
seqqu.Map
// prepare array
var arr = [ ... ] ;
// make seq from the array
var seq = seqqu . Map (
arr ,
function ( el , resolve , reject ) {
// do anything...
...
// if you got acceptable result, just call the resolve with the result.
resolve ( result ) ;
// if not, ju
【文件预览】:
seqqu-master
----lib()
--------index.js(5KB)
----.travis.yml(49B)
----test()
--------seqqu_operation.test.js(2KB)
--------seqqu_construct.test.js(975B)
----README.md(2KB)
----.gitignore(1KB)
----index.js(93B)
----package.json(530B)