Files
agent-framework/dotnet/src/Microsoft.Agents.AI.Workflows/IResettableExecutor.cs
T
Ben Thomas 647db9635a .NET: Rename workflows projects (#975)
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows

* Removing local settings.

* Removing remining old files from merge.
2025-09-29 18:30:45 +00:00

26 lines
618 B
C#

// Copyright (c) Microsoft. All rights reserved.
using System.Threading.Tasks;
namespace Microsoft.Agents.AI.Workflows;
/// <summary>
/// Provides a mechanism to return an executor to a 'reset' state, allowing a workflow containing
/// shared instances of it to be resued after a run is disposed.
/// </summary>
public interface IResettableExecutor
{
/// <summary>
/// Reset the executor
/// </summary>
/// <returns>A <see cref="ValueTask"/> representing the completion of the reset operation.</returns>
ValueTask ResetAsync()
#if NET
{
return default;
}
#else
;
#endif
}