jellyfin-server/MediaBrowser.Controller/Library/IPeoplePrescanTask.cs

21 lines
583 B
C#
Raw Normal View History

using System;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Interface IPeoplePrescanTask
/// </summary>
public interface IPeoplePrescanTask
{
/// <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);
}
}