// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.Testing.Platform.Extensions.Messages;
using Microsoft.Testing.Platform.ServerMode;

namespace Microsoft.Testing.Platform.Hosts;

internal interface IServerTestHost
{
    Task SendTelemetryEventUpdateAsync(TelemetryEventArgs args, CancellationToken cancellationToken);

    Task SendTestUpdateAsync(TestNodeStateChangedEventArgs update, CancellationToken cancellationToken);

    Task PushDataAsync(IData data, CancellationToken cancellationToken);
}
