using Insight.Agent.Messages;

namespace Insight.Agent.Interfaces
{
    public partial interface IAgentMessageHandler<TSender>
    {
        ValueTask HandleAsync<TMessage>(TSender sender, TMessage message, CancellationToken cancellationToken) where TMessage : IAgentMessage;
    }
}