Files
Wino-Mail/Wino.Core.Domain/Interfaces/IBackgroundTaskService.cs

18 lines
445 B
C#
Raw Normal View History

using System.Threading.Tasks;
2025-02-16 11:54:23 +01:00
namespace Wino.Core.Domain.Interfaces;
public interface IBackgroundTaskService
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
/// <summary>
/// Unregisters all background tasks once.
/// This is used to clean up the background tasks when the app is updated.
/// </summary>
void UnregisterAllBackgroundTask();
2025-02-16 11:54:23 +01:00
/// <summary>
/// Registers required background tasks.
/// </summary>
Task RegisterBackgroundTasksAsync();
2024-04-18 01:44:37 +02:00
}