namespace Nop.Services.ScheduleTasks;

/// <summary>
/// Task manager interface
/// </summary>
public partial interface ITaskScheduler
{
    /// <summary>
    /// Initializes task scheduler
    /// </summary>
    Task InitializeAsync();

    /// <summary>
    /// Starts the task scheduler
    /// </summary>
    public void StartScheduler();

    /// <summary>
    /// Stops the task scheduler
    /// </summary>
    public void StopScheduler();
}