nullable return

This commit is contained in:
Jack Gerrits 2025-01-27 12:08:07 -05:00 committed by Jack Gerrits
parent 0497592e8a
commit c5a319e906

View File

@ -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