//
// Copyright (c) PlaceholderCompany. All rights reserved.
//
namespace MediaBrowser.Model.Tasks;
using global::System;
using global::System.Collections.Generic;
using global::System.Threading;
using global::System.Threading.Tasks;
///
/// Interface IScheduledTaskWorker.
///
public interface IScheduledTask
{
///
/// Gets the name of the task.
///
/// The name.
string Name { get; }
///
/// Gets the key of the task.
///
string Key { get; }
///
/// Gets the description.
///
/// The description.
string Description { get; }
///
/// Gets the category.
///
/// The category.
string Category { get; }
///
/// Executes the task.
///
/// The progress.
/// The cancellation token.
/// Task.
Task ExecuteAsync(IProgress progress, CancellationToken cancellationToken);
///
/// Gets the default triggers that define when the task will run.
///
/// The default triggers that define when the task will run.
IEnumerable GetDefaultTriggers();
}