Any thoughts on this bit of core.async code to fetch a bunch of web pages concurrently and wait until they're all finished to return? https://gist.github.com/samcf/427fc7cde338402ffc5c040bf8d692e7
Looks nice to me
putting IO (like http requests here) inside go is a bad idea, better to use async/thread then use <! on the chan it returns from another go block
the number of go threads are limited and not meant for long running tasks like IO
here core.async isn't doing anything for you - this would be simpler code, and more efficient to boot, using futures or claypoole
thanks, that makes sense, i'll try that out 👍