// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Agents.AI.DurableTask.Workflows; /// /// Output payload from executor execution, containing the result, state updates, and emitted events. /// internal sealed class DurableExecutorOutput { /// /// Gets the executor result. /// public string? Result { get; init; } /// /// Gets the state updates (scope-prefixed key to value; null indicates deletion). /// public Dictionary StateUpdates { get; init; } = []; /// /// Gets the scope names that were cleared. /// public List ClearedScopes { get; init; } = []; /// /// Gets the workflow events emitted during execution. /// public List Events { get; init; } = []; /// /// Gets the typed messages sent to downstream executors. /// public List SentMessages { get; init; } = []; /// /// Gets a value indicating whether the executor requested a workflow halt. /// public bool HaltRequested { get; init; } }