// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Agents.AI.Workflows;
///
/// Specifies the current operational state of a workflow run.
///
public enum RunStatus
{
///
/// The run has not yet started. This only occurs when running in "lockstep" mode.
///
NotStarted,
///
/// The run has halted, has no outstanding requets, but has not received a .
///
Idle,
///
/// The run has halted, and has at least one outstanding .
///
PendingRequests,
///
/// The user has ended the run. No further events will be emitted, and no messages can be sent to it.
///
Ended,
///
/// The workflow is currently running, and may receive events or requests.
///
Running
}