Struct Future
Represents a values that will be computed asynchronously.
struct Future(T)
;
This type uses alias this
to enable transparent access to the result
value.
Fields
Name | Type | Description |
---|---|---|
m_result
|
Future | |
m_task
|
Task |
Properties
Name | Type | Description |
---|---|---|
ready [get]
|
bool | Checks if the values was fully computed. |
task [get]
|
Task | Return the associated task. |
Methods
Name | Description |
---|---|
getResult
()
|
Returns the computed value. |
init
()
|
Aliases
Name | Description |
---|---|
ResultRef
|