UNPKG

expressmultithread

Version:

Fast, light-weight and low dependency [Express.js](https://www.npmjs.com/package/express) multithreaded router.

26 lines 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SourceType = exports.PluginType = exports.ParentCmd = exports.ChildCmd = void 0; ; var ChildCmd; (function (ChildCmd) { ChildCmd[ChildCmd["ready"] = 0] = "ready"; ChildCmd[ChildCmd["response"] = 1] = "response"; ChildCmd[ChildCmd["next"] = 2] = "next"; })(ChildCmd || (exports.ChildCmd = ChildCmd = {})); var ParentCmd; (function (ParentCmd) { ParentCmd[ParentCmd["setSource"] = 1] = "setSource"; ParentCmd[ParentCmd["request"] = 2] = "request"; })(ParentCmd || (exports.ParentCmd = ParentCmd = {})); var PluginType; (function (PluginType) { PluginType[PluginType["controllerDecorator"] = 0] = "controllerDecorator"; PluginType[PluginType["routeDecorator"] = 1] = "routeDecorator"; })(PluginType || (exports.PluginType = PluginType = {})); var SourceType; (function (SourceType) { SourceType[SourceType["CONTROLLER"] = 0] = "CONTROLLER"; SourceType[SourceType["GLOBAL_MIDDLEWARE"] = 1] = "GLOBAL_MIDDLEWARE"; })(SourceType || (exports.SourceType = SourceType = {})); //# sourceMappingURL=types.js.map