NucuCar/NucuCar.Domain/Telemetry/ITelemetryPublisher.cs

14 lines
374 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace NucuCar.Domain.Telemetry
{
public interface ITelemetryPublisher
{
bool RegisterTelemeter(ITelemeter t);
bool UnRegisterTelemeter(ITelemeter t);
Task PublishAsync(CancellationToken cancellationToken);
}
}