feat(companion): add idle observability alias
This commit is contained in:
@@ -289,6 +289,10 @@ export class MacOSCompanionClient {
|
||||
return this.runtime.hasPendingWork;
|
||||
}
|
||||
|
||||
get idle(): boolean {
|
||||
return this.runtime.idle;
|
||||
}
|
||||
|
||||
getPendingWorkSnapshot(): PendingWorkSnapshot {
|
||||
return this.runtime.getPendingWorkSnapshot();
|
||||
}
|
||||
@@ -551,6 +555,10 @@ export class IOSCompanionClient {
|
||||
return this.runtime.hasPendingWork;
|
||||
}
|
||||
|
||||
get idle(): boolean {
|
||||
return this.runtime.idle;
|
||||
}
|
||||
|
||||
getPendingWorkSnapshot(): PendingWorkSnapshot {
|
||||
return this.runtime.getPendingWorkSnapshot();
|
||||
}
|
||||
@@ -811,6 +819,10 @@ export class AndroidCompanionClient {
|
||||
return this.runtime.hasPendingWork;
|
||||
}
|
||||
|
||||
get idle(): boolean {
|
||||
return this.runtime.idle;
|
||||
}
|
||||
|
||||
getPendingWorkSnapshot(): PendingWorkSnapshot {
|
||||
return this.runtime.getPendingWorkSnapshot();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user