@armscye/hooks 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
export interface ShutdownHook {
|
|
6
6
|
/**
|
|
7
7
|
* Called before connections close.
|
|
8
|
+
*
|
|
8
9
|
* @param signal the system signal
|
|
9
10
|
*/
|
|
10
11
|
beforeShutdown(signal?: string): any;
|
|
11
12
|
/**
|
|
12
13
|
* Called after connections close.
|
|
14
|
+
*
|
|
13
15
|
* @param signal the system signal
|
|
14
16
|
*/
|
|
15
17
|
onShutdown(signal?: string): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@armscye/hooks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "A collection of shared standard TypeScript definitions",
|
|
5
5
|
"author": "Augustus Kamau",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "3f346ded1e7a06cf1afac1ba29a6e4f5377d4664"
|
|
31
31
|
}
|