▲ | Blackthorn 8 months 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 8 months ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
Assuming "blocking" refers to parking goroutines, then blocking is possible.
The Go translation is as follows.
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
▲ | conjurernix 8 months 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. |