namespace AIStudio.Tools.Services.Indexing;
///
/// How long the indexing step which is about to start waits, cf. PauseBetweenSteps.GetPauseBeforeNextStep.
///
/// The pause drawn for the gap since the last step.
/// What is left of the pause now. More than zero, unless this is NONE.
internal sealed record PauseBeforeStep(TimeSpan Pause, TimeSpan Remaining)
{
///
/// The step starts right away.
///
public static readonly PauseBeforeStep NONE = new(TimeSpan.Zero, TimeSpan.Zero);
}