@isoloop/protocol 0.0.0-next.d028bc1 → 0.0.0-next.g3322248
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 +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -174,6 +174,15 @@ export type IdleReport = {
|
|
|
174
174
|
ageMs: number;
|
|
175
175
|
stack?: string;
|
|
176
176
|
}[];
|
|
177
|
+
/**
|
|
178
|
+
* Milliseconds the worker spent running this isolate's code since the last
|
|
179
|
+
* beat (ADR 0017): what the runtime dispatched to it and the callbacks it
|
|
180
|
+
* registered. A pool's shared framework render is split equally among the
|
|
181
|
+
* members whose roots it touched. Promise continuations, other schedulers
|
|
182
|
+
* and the worker's shared work (garbage collection) aren't counted; they
|
|
183
|
+
* show only in `lagMs`. Absent from runtimes before it.
|
|
184
|
+
*/
|
|
185
|
+
busyMs?: number;
|
|
177
186
|
};
|
|
178
187
|
/** Isolate port: host → isolate. */
|
|
179
188
|
export type HostToIsolate = Envelope<"init", InitPayload> | Envelope<"event", SerializedEvent> | Envelope<"result", CallResult> | Envelope<"shutdown", {
|