If there are a set of concurrent tasks scheduled, how to wait for the first task to complete?.
Does exists something like wait([t1, t2], return_when=:FIRST_COMP
wait([t1, t2], return_when=:FIRST_COMP