Awaiter that waits for a child task, cancelling it if a timeout expires first. More...
#include <Await.h>
Public Member Functions | |
| AwaitTaskTimeoutAwaiter (AwaitEventLoop &await, AwaitTask &task, TimeMs timeout, AwaitTimeoutResult *outResult) | |
| bool | await_ready () const |
| bool | await_suspend (AwaitTask::Handle continuation) |
| Result | await_resume () |
Public Attributes | |
| AwaitEventLoop & | await |
| AwaitTask & | task |
| TimeMs | timeout |
| AwaitTimeoutResult * | outResult = nullptr |
| AsyncLoopTimeout | timeoutRequest |
| Result | operationResult = Result(true) |
Awaiter that waits for a child task, cancelling it if a timeout expires first.