| ▲ | Blackthorn 2 years ago | ||||||||||||||||||||||||||||||||||
> something like Golang's concurrency That's wildly overselling it. Closure core async was completely incapable of doing the one extremely important innovation that made goroutines powerful: blocking. | |||||||||||||||||||||||||||||||||||
| ▲ | koito17 2 years ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
Assuming "blocking" refers to parking goroutines, then blocking is possible.
The Go translation is as follows. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | conjurernix 2 years ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
Can you elaborate? As far as I'm aware if you pull from an empty nchannel it wikl be blocking ubtik it gets a value. | |||||||||||||||||||||||||||||||||||