How to do the following in an async way in Julia:
the JavaScript-ish pseudo-code would be:
for i in 1:100
asyncCall(get(webpageAddr[i]), callback(err, data){
insertToDB(db, coll, data)
})
end
I am interested in how the async part of the code should look like (no so much the web query and db access, I'll take care of those). The 100 queries can run independently (asynchronously) from one another and the rest of the Julia code.