fix(pi): prove packaged workers end to end
This commit is contained in:
@@ -208,6 +208,16 @@ export class PiWorkerProcess {
|
||||
return this.generationValue;
|
||||
}
|
||||
|
||||
get processId(): number | undefined {
|
||||
return this.child?.pid;
|
||||
}
|
||||
|
||||
get isRunning(): boolean {
|
||||
return this.child !== null
|
||||
&& this.child.exitCode === null
|
||||
&& this.child.signalCode === null;
|
||||
}
|
||||
|
||||
get pendingCommandCount(): number {
|
||||
return this.rpc?.pendingCount ?? 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user