Dex.Future.await_int

### Method

# Dex Futureawait_int

#### Declaration [src]

    int
    dex_await_int (
      DexFuture* future
      GError** error
    )

#### Description [src]

Awaits on `future` and returns the result as an int.

The resolved value must be of type `G_TYPE_INT` or `error` is set.

This method is not directly available to language bindings.

#### Return value

Type: `int`

An int, or 0 in case of failure and `error` is set.