Class

DexCancellable

Description [src]

final class Dex.Cancellable : GObject.TypeInstance
{
  /* No available fields */
}

DexCancellable is a simple cancellation primitive which allows for you to create DexFuture that will reject upon cancellation.

Use this combined with other futures using dex_future_all_race() to create a future that resolves when all other futures complete or dex_cancellable_cancel() is called to reject.

Hierarchy

hierarchy this DexCancellable ancestor_0 DexFuture ancestor_0--this ancestor_1 DexObject ancestor_1--ancestor_0

Ancestors

Constructors

dex_cancellable_new
No description available.

dex_cancellable_new_from_cancellable
No description available.

Instance methods

dex_cancellable_cancel
No description available.

Methods inherited from DexFuture (24)

Please see DexFuture for a full list of methods.

Methods inherited from DexObject (2)
dex_ref

Acquires a reference on the given object, and increases its reference count by one.

dex_unref

Releases a reference on the given object, and decreases its reference count by one.