Skip to content

Coroutine

This is the abstract type every coroutine is derived from. The call operator needs to be overridden.

graph BT
N1["Coroutine"] -->|inherits| N2["Any"];

Characteristics

Quality Value
Inherits global.Any
Extends N/A
Decorators N/A
Is enum false
Is sealed false
Is extern false
Is abstract true
Is generator false
Has value semantics false
Has stored properties true
Should register destructor false
Has atomic memory false
Is copy assignable false
Is zero initializable false

Call Operator

#strict
 (s @Self) -> Dynamic
abstract


Methods

construct

#default
#Gambol.function.alwaysinline
construct (s strictly @Self) -> Self

Properties

future

future Future

__loop

__loop AsyncLoop?