Dex.AsyncResult¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Dex.AsyncResult(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
DexAsyncResult
is used to integrate aDexFuture
withGAsyncResult
.Use this class when you need to expose the traditional async/finish behavior of
GAsyncResult
.- classmethod new(source_object, cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- Return type:
- await_(future)¶
- Parameters:
future (
Dex.Future
) – aDex.Future
Tracks the result of future and uses the value to complete self, eventually calling the registered
Gio.AsyncReadyCallback
.
- dup_future()¶
- Returns:
a
Dex.Future
orNone
- Return type:
Dex.Future
orNone
Gets the future for the
Dex.AsyncResult
, orNone
if a future is not available.
- propagate_boolean()¶
- Raises:
- Return type:
- propagate_double()¶
- Raises:
- Return type:
- propagate_int()¶
- Raises:
- Return type:
- propagate_pointer()¶
- Raises:
- Return type: