mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-27 15:09:41 +00:00
nullable return
This commit is contained in:
parent
0497592e8a
commit
c5a319e906
@ -8,7 +8,7 @@ public interface IAgent : ISaveState<IAgent>
|
||||
public AgentId Id { get; }
|
||||
public AgentMetadata Metadata { get; }
|
||||
|
||||
public ValueTask<object> OnMessageAsync(object message, MessageContext messageContext); // TODO: How do we express this properly in .NET?
|
||||
public ValueTask<object?> OnMessageAsync(object message, MessageContext messageContext); // TODO: How do we express this properly in .NET?
|
||||
}
|
||||
|
||||
public interface IHostableAgent : IAgent
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user