mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix user intervention
This commit is contained in:
parent
94fe7f1e1d
commit
98ec8f0c48
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user