mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 23:58:08 -05:00
Add max concurrent players over 24 hours badge to home
This commit is contained in:
17
SharedLibraryCore/Interfaces/IServerDataCollector.cs
Normal file
17
SharedLibraryCore/Interfaces/IServerDataCollector.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SharedLibraryCore.Interfaces
|
||||
{
|
||||
public interface IServerDataCollector
|
||||
{
|
||||
/// <summary>
|
||||
/// Begins to collection on servers for analytical purposes
|
||||
/// </summary>
|
||||
/// <param name="period">interval at which to collect data</param>
|
||||
/// <param name="cancellationToken">Token</param>
|
||||
/// <returns>Task</returns>
|
||||
Task BeginCollectionAsync(TimeSpan? period = null, CancellationToken cancellationToken = default);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user