Fix user intervention

This commit is contained in:
Timothy Baldridge 2022-01-08 23:41:57 -07:00
parent 94fe7f1e1d
commit 98ec8f0c48

View File

@ -3,16 +3,11 @@ using System.Threading;
namespace Wabbajack.DTOs.Interventions; namespace Wabbajack.DTOs.Interventions;
public interface IUserIntervention
{
}
/// <summary> /// <summary>
/// Defines a message that requires user interaction. The user must perform some action /// Defines a message that requires user interaction. The user must perform some action
/// or make a choice. /// or make a choice.
/// </summary> /// </summary>
public interface IUserIntervention<TRet> : IUserIntervention public interface IUserIntervention
{ {
/// <summary> /// <summary>
/// The user didn't make a choice, so this action should be aborted /// The user didn't make a choice, so this action should be aborted
@ -30,4 +25,4 @@ public interface IUserIntervention<TRet> : IUserIntervention
public CancellationToken Token { get; } public CancellationToken Token { get; }
void SetException(Exception exception); void SetException(Exception exception);
} }