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