Update timeouts.go: Fix typo
This commit is contained in:
parent
448c597a58
commit
7823e44fc9
@ -25,7 +25,7 @@ func main() {
|
||||
}()
|
||||
|
||||
// Here's the `select` implementing a timeout.
|
||||
// `res := <-c1` awaits the result and `<-Time.After`
|
||||
// `res := <-c1` awaits the result and `<-time.After`
|
||||
// awaits a value to be sent after the timeout of
|
||||
// 1s. Since `select` proceeds with the first
|
||||
// receive that's ready, we'll take the timeout case
|
||||
|
Loading…
x
Reference in New Issue
Block a user