Table of Contents

Interface IHandleConsole

Namespace
Microsoft.AutoGen.Agents
Assembly
Microsoft.AutoGen.Agents.dll
public interface IHandleConsole : IHandle<Output>, IHandle<Input>, IHandle
Inherited Members

Properties

AgentId

AgentId AgentId { get; }

Property Value

AgentId

Methods

ProcessInput(string)

public static Task<string> ProcessInput(string message)

Parameters

message string

Returns

Task<string>

ProcessOutput(string)

public static Task ProcessOutput(string message)

Parameters

message string

Returns

Task

PublishMessageAsync<T>(T, string?, CancellationToken)

ValueTask PublishMessageAsync<T>(T message, string? source = null, CancellationToken token = default) where T : IMessage

Parameters

message T
source string
token CancellationToken

Returns

ValueTask

Type Parameters

T