Constructor

DexFutureall

Declaration [src]

DexFuture*
dex_future_all (
  DexFuture* first_future,
  ...
)

Description [src]

Creates a new DexFuture that will resolve or reject when all futures either resolve or reject.

This method will return a DexFutureSet which provides API to get the exact values of the dependent futures. The value of the future if resolved will be a G_TYPE_BOOLEAN of TRUE.

Parameters

first_future DexFuture
 

A DexFuture.

 The called function takes ownership of the data, and is responsible for freeing it.
...
 

A NULL terminated list of futures.

Return value

Returns: DexFuture
 

A DexFutureSet.

 The caller of the function takes ownership of the data, and is responsible for freeing it.