mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 07:04:35 +00:00
Improved the pauses between indexing steps and between files of the Batch Processing Assistant (#1240)
This commit is contained in:
1 parent
a117074972
commit
899139c88b
32 files changed
+787
-425
No files matched your search
@@ -0,0 +1,14 @@
|
||||
namespace AIStudio.Tools.Pauses;
|
||||
|
||||
/// <summary>
|
||||
/// How long the step which is about to start waits, cf. PauseBetweenSteps.GetPauseBeforeNextStep.
|
||||
/// </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);
|
||||
}
|
||||
Reference in new issue
Block a user