Dex.Future.first

### Method

# Dex Futurefirst

#### Declaration [src]

    DexFuture*
    dex_future_first (
      DexFuture* first_future,
      ...
    )

#### Description [src]

Creates a new `DexFuture` that resolves or rejects as soon as the first dependent future resolves or rejects, sharing the same result.

This method is not directly available to language bindings.

The implementation of this method is provided by `()` in language bindings

#### Parameters

`...`

  Type: ``

  A `NULL` terminated list of futures.

#### Return value

Type: `DexFutureSet`

A `DexFuture`.

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