Dex.AsyncResult

g Dex.AsyncResult Dex.AsyncResult GObject.GInterface GObject.GInterface Gio.AsyncResult Gio.AsyncResult GObject.GInterface->Gio.AsyncResult GObject.Object GObject.Object GObject.Object->Dex.AsyncResult Gio.AsyncResult->Dex.AsyncResult

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.AsyncResult (4)

Structs:

GObject.ObjectClass (5)

class

new (source_object, cancellable, callback, *user_data)

await_ (future)

dup_future ()

get_name ()

propagate_boolean ()

propagate_double ()

propagate_int ()

propagate_pointer ()

set_name (name)

set_priority (priority)

set_static_name (name)

Virtual Methods

Inherited:

GObject.Object (7), Gio.AsyncResult (3)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Dex.AsyncResult(**kwargs)
Bases:

GObject.Object, Gio.AsyncResult

Abstract:

No

Structure:

Dex.AsyncResultClass

DexAsyncResult is used to integrate a DexFuture with GAsyncResult.

Use this class when you need to expose the traditional async/finish behavior of GAsyncResult.

classmethod new(source_object, cancellable, callback, *user_data)
Parameters:
Return type:

Dex.AsyncResult

await_(future)
Parameters:

future (Dex.Future) – a Dex.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 or None

Return type:

Dex.Future or None

Gets the future for the Dex.AsyncResult, or None if a future is not available.

get_name()
Return type:

str

propagate_boolean()
Raises:

GLib.Error

Return type:

bool

propagate_double()
Raises:

GLib.Error

Return type:

float

propagate_int()
Raises:

GLib.Error

Return type:

int

propagate_pointer()
Raises:

GLib.Error

Return type:

object or None

set_name(name)
Parameters:

name (str) –

set_priority(priority)
Parameters:

priority (int) –

set_static_name(name)
Parameters:

name (str) –