Easy to do with `std / tasks`. For example:
import std / tasks
proc hello(a: int) = echo a
proc other(s: string) = echo s
let myTasks = @[toTask(hello 3), toTask(other "abc)]
for t in myTasks:
invoke(t)
Run
- Running procs from a list of procs stbalbach
- Running procs from a list of procs cblake
- Running procs from a list of procs stbalbach
- Running procs from a list of procs Araq
- Running procs from a list of procs stbalbach
