using System.Collections.Generic; using System.Threading; using Cysharp.Threading.Tasks; using Xprees.EventLogging.Api.Model; namespace Xprees.EventLogging.Api { public interface IEventLoggingApi { /// /// Call this method before logging start to warm up the connection (otherwise the first log will be slow) /// /// Success UniTask Warmup(CancellationToken cancellationToken = default); UniTask SendEventLog(EventLog log, CancellationToken cancellationToken = default); UniTask SendEventLogsBatch(List logs, CancellationToken cancellationToken = default); UniTask GetScenarioNames(CancellationToken cancellationToken = default); } }