routine (that is waiting for an incoming IO message), how can this be achieved? Edit: the goroutine has a blocking operation
https://gobyexample.com/timeouts
Select with a timeout
https://play.golang.org/p/JxfAEawLQYO
Обсуждают сегодня