It makes sense to do IO (eg: file upload) inside a go block? I'm thinking of uploading X files using one go block per file
you will probably end up using a pipeline-blocking, to avoid the creation of 1e3 threads to upload 1e3 files.
ahhh thanks, I was implicitly implementing (a very crappy version of) that function!
I'm asking because the docstring says > go blocks should not (either directly or indirectly) perform operations that may block indefinitely.
Don't do io in go blocks
How about via thread? https://clojure.github.io/core.async/#clojure.core.async/thread
Yes, that is the purpose of thread
No