Future.all_racev


Description:

[ CCode ( cname = "dex_future_all_racev" , has_construct_function = false ) ]
public Future.all_racev (Future[] futures)

Creates a new [class@Dex.

Future] that resolves when all futures resolve.

If any future rejects, the resulting [class@Dex.Future] also rejects immediately.

Parameters:

futures

an array of futures

n_futures

the number of futures

Returns:

a [class@Dex.Future]