using ModelContextProtocol.Protocol;
namespace ModelContextProtocol;
///
/// Provides an tied to a specific progress token and that will issue
/// progress notifications on the supplied session.
///
internal sealed class TokenProgress(McpSession session, ProgressToken progressToken) : IProgress
{
///
public void Report(ProgressNotificationValue value)
{
_ = session.NotifyProgressAsync(progressToken, value, CancellationToken.None);
}
}