Skip to content

Commit ccb3876

Browse files
committed
Add message listeners to PanelProvider to enable broadcasting backend messages
- [Pasted text]
1 parent 9904ca1 commit ccb3876

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/editor/src/views/panel/backend/panel-provider.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export class PanelProvider implements vscode.WebviewViewProvider {
171171
public api_call_cancel_token_source: CancelTokenSource | null = null
172172
public api_manager!: ApiManager
173173
public response_history: ResponseHistoryItem[] = []
174+
public message_listeners: ((message: BackendMessage) => void)[] = []
174175

175176
// Voice input
176177
public is_recording = false

0 commit comments

Comments
 (0)