2026-11-27 14:39:17 +01:00
|
|
|
namespace AIStudio.Tools.Pauses;
|
2026-10-27 08:05:52 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
2026-11-27 14:39:17 +01:00
|
|
|
/// How long the step which is about to start waits, cf. PauseBetweenSteps.GetPauseBeforeNextStep.
|
2026-10-27 08:05:52 +01:00
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Pause">The pause drawn for the gap since the last step.</param>
|
|
|
|
|
/// <param name="Remaining">What is left of the pause now. More than zero, unless this is NONE.</param>
|
|
|
|
|
internal sealed record PauseBeforeStep(TimeSpan Pause, TimeSpan Remaining)
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The step starts right away.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly PauseBeforeStep NONE = new(TimeSpan.Zero, TimeSpan.Zero);
|
|
|
|
|
}
|