Код: Выделить всё
BatchBlock foo = new(1, new()
{
//Greedy = false
});
foo.Post(1);
Console.WriteLine(foo.Receive());
Версия .NET: 8.0.303,
Windows 11
Подробнее здесь: https://stackoverflow.com/questions/790 ... reedy-mode
Код: Выделить всё
BatchBlock foo = new(1, new()
{
//Greedy = false
});
foo.Post(1);
Console.WriteLine(foo.Receive());