Esempio n. 1
0
 void Resend(IReceive <int> numbers, ISend <string> results, string name)
 {
     foreach (var n in numbers.Range())
     {
         Task.Delay(5).Wait();
         results.Send($"{name} : {n}");
     }
     results.Close();
     Console.WriteLine($" [+] {name} done");
 }