using System; using System.Threading; using System.Threading.Tasks; namespace SharedLibraryCore.Interfaces { public interface IServerDataCollector { /// /// Begins to collection on servers for analytical purposes /// /// interval at which to collect data /// Token /// Task Task BeginCollectionAsync(TimeSpan? period = null, CancellationToken cancellationToken = default); } }