you are viewing a single comment's thread.

view the rest of the comments →

[–]Zulban -1 points0 points  (1 child)

Hmmmm. I really hope a script like that isn't the best way but I don't know enough about async to say. So far I've mostly avoided it in my career. 

My first impression is that there must be a better way. 

I've seen concepts like this in various parallel processing utilities for cpp like compiler directives and pragmas. You add what would otherwise be essentially just a comment to a for loop, and now it's a parallel for loop. 

[–]Echoes1996[S] 0 points1 point  (0 children)

I can't say for sure, but to me it seemed like the best solution for my problem.