Dex.Cancellable¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
class |
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Dex.Cancellable¶
- Bases:
- Abstract:
No
DexCancellable
is a simple cancellation primitive which allows for you to createDexFuture
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 ordex_cancellable_cancel()
is called to reject.- classmethod new()¶
- Return type:
- classmethod new_from_cancellable(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) –- Return type:
- cancel()¶