feat(coding-runtime): add managed Pi extension host
This commit is contained in:
@@ -48,6 +48,10 @@ class ProcessBackedWorker implements PiConversationWorker {
|
||||
return this.process.request(command, options);
|
||||
}
|
||||
|
||||
send(command: PiRpcCommand): Promise<void> {
|
||||
return this.process.send(command);
|
||||
}
|
||||
|
||||
subscribe(listener: (event: PiRpcEvent) => void): () => void {
|
||||
return this.process.subscribe(listener);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user