jellyfin-plugin-webhook/Jellyfin.Plugin.Webhook/Notifiers/ItemDeletedNotifier/IItemDeletedManager.cs

23 lines
629 B
C#

using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
namespace Jellyfin.Plugin.Webhook.Notifiers.ItemDeletedNotifier;
/// <summary>
/// Item deleted manager interface.
/// </summary>
public interface IItemDeletedManager
{
/// <summary>
/// Process the current queue.
/// </summary>
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
public Task ProcessItemsAsync();
/// <summary>
/// Add item to process queue.
/// </summary>
/// <param name="item">The deleted item.</param>
public void AddItem(BaseItem item);
}