namespace AvParser.Core.Tests;
///
/// An that invokes its callback inline.
///
///
/// marshals through the captured synchronization context, which makes
/// the delivery order untestable. This one reports on the calling thread.
///
internal sealed class SynchronousProgress(Action onReport) : IProgress
{
public void Report(T value) => onReport(value);
}