Method

DexFutureawait_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.

Return value

Type: int

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