@isoloop/protocol 0.1.0-next.11 → 0.1.0-next.12
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/dist/index.d.ts +8 -2
- package/package.json +5 -1
package/dist/index.d.ts
CHANGED
|
@@ -1091,7 +1091,10 @@ type InspectIsolate = {
|
|
|
1091
1091
|
pool?: string;
|
|
1092
1092
|
/** `performance.now()` on the host when its last beat arrived. */
|
|
1093
1093
|
lastBeatAt: number;
|
|
1094
|
-
/**
|
|
1094
|
+
/**
|
|
1095
|
+
* How late its worker's last beat fired, past the heartbeat interval, in ms. It keeps the last beat's value while
|
|
1096
|
+
* the worker is blocked and sends no beat. To see a block in progress, read `state` and the time since `lastBeatAt`.
|
|
1097
|
+
*/
|
|
1095
1098
|
lagMs: number;
|
|
1096
1099
|
/** Restarts after a crash since it was spawned. */
|
|
1097
1100
|
restarts: number;
|
|
@@ -1171,7 +1174,10 @@ type InspectBeat = {
|
|
|
1171
1174
|
id: string;
|
|
1172
1175
|
/** Its pool, when it's a pool member. */
|
|
1173
1176
|
pool?: string;
|
|
1174
|
-
/**
|
|
1177
|
+
/**
|
|
1178
|
+
* How late its worker's beat fired, past the heartbeat interval, in ms. A block shows in it only on the first beat
|
|
1179
|
+
* after the block ends; while it lasts, no beat arrives.
|
|
1180
|
+
*/
|
|
1175
1181
|
lagMs: number;
|
|
1176
1182
|
/** Milliseconds its worker spent running its code during the beat's interval. */
|
|
1177
1183
|
busyMs?: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isoloop/protocol",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.12",
|
|
4
4
|
"description": "Internal: Isoloop's wire protocol types and guards. Used by the @isoloop/* packages; not for app code.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"isoloop"
|
|
7
|
+
],
|
|
8
|
+
"homepage": "https://isoloop.dev/",
|
|
5
9
|
"license": "MIT",
|
|
6
10
|
"type": "module",
|
|
7
11
|
"sideEffects": false,
|