@trans.js/promise-queue
v1.0.1
Published
## 示例 ### 串行执行promise ```ts execSerialPromise({ queue: ['a', 'b', 'c', 'd'], // queue: [{name: 'a'}], iterator: async (item, index, val)=>{ await time.sleep(index + 1); const now = dayjs().format('YYYY-MM-DD HH:mm:ss');
Downloads
1