【文件属性】:
文件名称:async-stack:npm异步堆栈
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-23 17:46:25
JavaScript
异步堆栈
异步队列队列进程管理-可能的最简单方法。
安装:npm install async-stack
用法:
// ADD THE MODULE
var asyncstack = require("async-stack"), // A Class allowing multiple independent instances.
Stack = new asyncstack(), // this instance of 'asyncstack'.
self = this,
self.sql = {};
// BUILD THE STACK
Stack.push(
function(){
// On this one, don't call 'next()' until end of inside the mysql callback!
mys
【文件预览】:
async-stack-master
----package.json(696B)
----async-stack.js(2KB)
----README.md(3KB)