// Copyright (c) Microsoft. All rights reserved. using System.Threading.Tasks; namespace Microsoft.Agents.AI.Workflows; /// /// 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. /// public interface IResettableExecutor { /// /// Reset the executor /// /// A representing the completion of the reset operation. ValueTask ResetAsync() #if NET { return default; } #else ; #endif }