Table of Contents

Interface IHostableAgent

Namespace
Microsoft.AutoGen.Contracts
Assembly
Microsoft.AutoGen.Contracts.dll

Represents an agent that can be explicitly hosted and closed when the runtime shuts down.

public interface IHostableAgent : IAgent, ISaveState
Inherited Members

Methods

CloseAsync()

Called when the runtime is closing.

ValueTask CloseAsync()

Returns

ValueTask

A task representing the asynchronous operation.