mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
647db9635a
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows * Removing local settings. * Removing remining old files from merge.
26 lines
618 B
C#
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
|
|
}
|