@sigodenjs/dee-srv
Advanced tools
Comparing version 0.18.0 to 0.18.1
@@ -11,4 +11,2 @@ export interface ServiceGroup extends SrvExt.ServiceGroup { | ||
} | ||
export declare const INIT_KEY: unique symbol; | ||
export declare const STOP_KEY: unique symbol; | ||
export interface SrvConfig { | ||
@@ -28,5 +26,9 @@ /** | ||
} | ||
export declare const INIT_KEY: unique symbol; | ||
export declare const STOP_KEY: unique symbol; | ||
export declare const READY_KEY: unique symbol; | ||
export interface ServiceBase { | ||
[INIT_KEY]?: () => Promise<void> | void; | ||
[STOP_KEY]?: () => Promise<void> | void; | ||
[READY_KEY]?: () => Promise<void> | void; | ||
} | ||
@@ -33,0 +35,0 @@ export interface InitFn<T extends ServiceBase, U, P extends { |
@@ -5,3 +5,4 @@ "use strict"; | ||
exports.STOP_KEY = Symbol("stop"); | ||
exports.READY_KEY = Symbol("ready"); | ||
; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@sigodenjs/dee-srv", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"description": "A way to write and organize service", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2281
50