Dex.Block¶
- Subclasses:
None
Methods¶
- Inherited:
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Dex.Block¶
- Bases:
- Abstract:
No
Dex.Blockrepresents a callback closure that can be scheduled to run within a specificGLib.MainContext.You create these by chaining futures together using
Dex.Future.then(),Dex.Future.catch(),Dex.Future.finally_() and similar.- get_kind()¶
- Returns:
- Return type:
Gets the kind of block.
The kind of block relates to what situations the block would be executed such as for handling a future resolution, rejection, or both.
- get_scheduler()¶
- Returns:
- Return type:
Gets the scheduler to use when executing a block.