Files
server/util/SeederApi/Commands/Interfaces/IDestroyBatchScenesCommand.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
509 B
C#
Raw Normal View History

namespace Bit.SeederApi.Commands.Interfaces;
/// <summary>
/// Command for destroying multiple scenes in parallel.
/// </summary>
public interface IDestroyBatchScenesCommand
{
/// <summary>
/// Destroys multiple scenes by their play IDs in parallel.
/// </summary>
/// <param name="playIds">The list of play IDs to destroy</param>
/// <exception cref="AggregateException">Thrown when one or more scenes fail to destroy</exception>
Task DestroyAsync(IEnumerable<string> playIds);
}