//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
namespace Microsoft.Kusto.ServiceLayer.QueryExecution.Contracts.ExecuteRequests
{
///
/// Parameters to be sent back as part of a batch start or complete event to indicate that a
/// batch of a query started or completed.
///
public class BatchEventParams
{
///
/// Summary of the batch that just completed
///
public BatchSummary BatchSummary { get; set; }
///
/// URI for the editor that owns the query
///
public string OwnerUri { get; set; }
}
public class BatchCompleteEvent
{
public static readonly
EventType Type =
EventType.Create("query/batchComplete");
}
public class BatchStartEvent
{
public static readonly
EventType Type =
EventType.Create("query/batchStart");
}
}