// <copyright file="ILibraryPostScanTask.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace MediaBrowser.Controller.Library
{
    using System;
    using System.Threading;
    using System.Threading.Tasks;

    /// <summary>
    /// An interface for tasks that run after the media library scan.
    /// </summary>
    public interface ILibraryPostScanTask
    {
        /// <summary>
        /// Runs the specified progress.
        /// </summary>
        /// <param name="progress">The progress.</param>
        /// <param name="cancellationToken">The cancellation token.</param>
        /// <returns>Task.</returns>
        Task Run(IProgress<double> progress, CancellationToken cancellationToken);
    }
}
