Class
DexAsyncResult
Description [src]
final class Dex.AsyncResult : GObject.Object
implements Gio.AsyncResult {
/* No available fields */
}
DexAsyncResult
is used to integrate a DexFuture
with GAsyncResult
.
Use this class when you need to expose the traditional async/finish
behavior of GAsyncResult
.
Instance methods
dex_async_result_await
Tracks the result of future
and uses the value to complete async_result
,
eventually calling the registered GAsyncReadyCallback
.
dex_async_result_dup_future
Gets the future for the DexAsyncResult
, or NULL
if a future
is not available.
Methods inherited from GAsyncResult (4)
g_async_result_get_source_object
Gets the source object from a GAsyncResult
.
g_async_result_get_user_data
Gets the user data from a GAsyncResult
.
g_async_result_is_tagged
Checks if res
has the given source_tag
(generally a function
pointer indicating the function res
was created by).
g_async_result_legacy_propagate_error
If res
is a GSimpleAsyncResult
, this is equivalent to
g_simple_async_result_propagate_error()
. Otherwise it returns
FALSE
.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.