In un esempio precedente abbiamo visto come |
|
![]() ![]()
|
|
|
|
|
|
Itereremo su 2 valori nel canale |
|
Questo |
|
|
|
Questo esempio mostra anche che è possibile chiudere un canale non vuoto e avere comunque i valori rimasti che vengono ricevuti. |
Prossimo esempio: Timer.