Table of Contents

Class AgentSuspendedEvent

Namespace
Emissary
Assembly
Emissary.dll

The run paused at a human-in-the-loop gate. Persist the suspension and resume later with ResumeAsync(SuspendedRun, bool, CancellationToken). Followed by the final AgentCompletedEvent.

public sealed record AgentSuspendedEvent : AgentEvent, IEquatable<AgentEvent>, IEquatable<AgentSuspendedEvent>
Inheritance
AgentSuspendedEvent
Implements
Inherited Members

Constructors

AgentSuspendedEvent(SuspendedRun)

The run paused at a human-in-the-loop gate. Persist the suspension and resume later with ResumeAsync(SuspendedRun, bool, CancellationToken). Followed by the final AgentCompletedEvent.

public AgentSuspendedEvent(SuspendedRun Suspension)

Parameters

Suspension SuspendedRun

The serializable suspension state.

Properties

Suspension

The serializable suspension state.

public SuspendedRun Suspension { get; init; }

Property Value

SuspendedRun