using Insight.Domain.Network;

namespace Insight.Domain.Interfaces;

public partial interface IMessageHandler<TSender>
{
    ValueTask HandleAsync<TMessage>(TSender sender, TMessage message, CancellationToken cancellationToken) where TMessage : IMessage;
}