Dex.Cancellable¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
class |
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Dex.Cancellable¶
- Bases:
- Abstract:
No
DexCancellableis a simple cancellation primitive which allows for you to createDexFuturethat 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.CancellableorNone) –- Return type:
- cancel()¶