◆ Future()
template<typename Value = void>
> All members, including inherited
◆ cancel()
template<typename Value = void>
◆ get()
template<typename Value = void>
- Sneaky exceptions
AInvoсationTargetException
thrown if invocation target has thrown an exception.
- Returns
- the object stored from the another thread.
◆ hasResult()
template<typename Value = void>
- Returns
- true if the value or exception or interruption was received.
◆ hasValue()
template<typename Value = void>
- Returns
- true if asynchronous operation was successfuly completed and supplied a value, which can be obtained without waiting.
◆ isWaitNeeded()
template<typename Value = void>
- Returns
- true if call to wait() function would cause thread block.
◆ operator*() [1/2]
template<typename Value = void>
- Sneaky exceptions
AInvoсationTargetException
thrown if invocation target has thrown an exception.
- Returns
- the object stored from the another thread.
◆ operator*() [2/2]
template<typename Value = void>
- Sneaky exceptions
AInvoсationTargetException
thrown if invocation target has thrown an exception.
- Returns
- the object stored from the another thread.
◆ operator->()
template<typename Value = void>
- Sneaky exceptions
AInvoсationTargetException
thrown if invocation target has thrown an exception.
- Returns
- the object stored from the another thread.
◆ wait()
template<typename Value = void>
- Note
- The task will be executed inside wait() function if the threadpool have not taken the task to execute yet. This behaviour can be disabled by
AFutureWait::JUST_WAIT
flag.