Method

DexFutureawait_float

Declaration [src]

float
dex_await_float (
  DexFuture* future
  GError** error
)

Description [src]

Awaits on future and returns the result as an float.

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

Return value

Type: float

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