@gjsify/cluster 0.4.30 → 0.4.31
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.
- package/lib/types/index.d.ts +4 -4
- package/package.json +4 -4
package/lib/types/index.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { EventEmitter } from 'node:events';
|
|
|
2
2
|
export declare const isPrimary = true;
|
|
3
3
|
export declare const isMaster = true;
|
|
4
4
|
export declare const isWorker = false;
|
|
5
|
-
export declare const workers: Record<number,
|
|
6
|
-
export declare const settings:
|
|
7
|
-
export declare function setupPrimary(_settings?:
|
|
5
|
+
export declare const workers: Record<number, unknown>;
|
|
6
|
+
export declare const settings: Record<string, unknown>;
|
|
7
|
+
export declare function setupPrimary(_settings?: Record<string, unknown>): void;
|
|
8
8
|
export declare const setupMaster: typeof setupPrimary;
|
|
9
|
-
export declare function fork(_env?:
|
|
9
|
+
export declare function fork(_env?: Record<string, string | undefined>): never;
|
|
10
10
|
export declare function disconnect(_callback?: () => void): void;
|
|
11
11
|
export declare const schedulingPolicy = 2;
|
|
12
12
|
export declare const SCHED_NONE = 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/cluster",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.31",
|
|
4
4
|
"description": "Node.js cluster module for Gjs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"cluster"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@gjsify/events": "^0.4.
|
|
36
|
+
"@gjsify/events": "^0.4.31"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@gjsify/cli": "^0.4.
|
|
40
|
-
"@gjsify/unit": "^0.4.
|
|
39
|
+
"@gjsify/cli": "^0.4.31",
|
|
40
|
+
"@gjsify/unit": "^0.4.31",
|
|
41
41
|
"@types/node": "^25.9.1",
|
|
42
42
|
"typescript": "^6.0.3"
|
|
43
43
|
}
|