await_enum


Description:

[ CCode ( cname = "dex_await_enum" ) ]
[ DestroysInstance ]
public uint await_enum () throws Error

Awaits on this and returns the enum result.

If the result is not a g_type_enum, throws is set.

Parameters:

this

a [class@Dex.Future]

Returns:

the enum or 0 and throws is set.