mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 09:59:47 -05:00
Batch messages on the exthost to not freeze ads (#8949)
* batch messages on the exthost to not freeze ads * clear out messages on query complete
This commit is contained in:
@@ -219,7 +219,7 @@ export abstract class ExtHostDataProtocolShape {
|
||||
/**
|
||||
* Callback when a message generated during query execution is issued
|
||||
*/
|
||||
$onQueryMessage(handle: number, message: azdata.QueryExecuteMessageParams): void { throw ni(); }
|
||||
$onQueryMessage(message: azdata.QueryExecuteMessageParams): void { throw ni(); }
|
||||
|
||||
/**
|
||||
* Requests saving of the results from a result set into a specific format (CSV, JSON, Excel)
|
||||
@@ -559,7 +559,7 @@ export interface MainThreadDataProtocolShape extends IDisposable {
|
||||
$onBatchComplete(handle: number, batchInfo: azdata.QueryExecuteBatchNotificationParams): void;
|
||||
$onResultSetAvailable(handle: number, resultSetInfo: azdata.QueryExecuteResultSetNotificationParams): void;
|
||||
$onResultSetUpdated(handle: number, resultSetInfo: azdata.QueryExecuteResultSetNotificationParams): void;
|
||||
$onQueryMessage(handle: number, message: azdata.QueryExecuteMessageParams): void;
|
||||
$onQueryMessage(message: [string, azdata.QueryExecuteMessageParams[]][]): void;
|
||||
$onObjectExplorerSessionCreated(handle: number, message: azdata.ObjectExplorerSession): void;
|
||||
$onObjectExplorerSessionDisconnected(handle: number, message: azdata.ObjectExplorerSession): void;
|
||||
$onObjectExplorerNodeExpanded(providerId: string, message: azdata.ObjectExplorerExpandInfo): void;
|
||||
|
||||
Reference in New Issue
Block a user