Future.allv


Description:

[ CCode ( cname = "dex_future_allv" , has_construct_function = false ) ]
public Future.allv (Future[] futures)

Creates a new [class@Dex.

Future] that resolves when all futures resolve.

The resulting [class@Dex.Future] will not resolve or reject until all futures have either resolved or rejected.

Parameters:

futures

an array of futures

n_futures

the number of futures

Returns:

a [class@Dex.Future]