await_int


Description:

[ CCode ( cname = "dex_await_int" ) ]
[ DestroysInstance ]
public int await_int () throws Error

Awaits on this and returns the result as an int.

The resolved value must be of type g_type_int or throws is set.

Parameters:

this

a [class@Dex.Future]

Returns:

an int, or 0 in case of failure and throws is set.