|
|
|
|
|
by throwawayapples
1233 days ago
|
|
I've come to the conclusion that it's simply not possible to fully emulate Go channels in JS/TS. They're too tightly integrated into the rest of the language. See this talk for some more background (ideally, watch the video).
https://go.dev/talks/2012/concurrency.slide#1 Be warned, you will never look at async/await in the same way again. |
|