Mark McGranaghan d19153e5f6 publish select
2012-10-11 08:35:16 -07:00

11 lines
251 B
Bash

# We receive the values `"one"` and then `"two"` as
# expected.
$ time go run select.go
received one
received two
# Note that the total execution time is only ~2 seconds
# since both the 1 and 2 second `Sleeps` execute
# concurrently.
real 0m2.245s