Resources for scheduling asynchronous work.
Classes | |
| class | pw::async2::Context |
| class | pw::async2::Task |
Enumerations | |
| enum class | pw::async2::RunTaskResult { RunTaskResult::kActive , RunTaskResult::kDeregistered , RunTaskResult::kCompleted } |
|
strong |
Result from Dispatcher::RunTask. Reports the state of the task when it finished running.
| Enumerator | |
|---|---|
| kActive | The task is still posted to the dispatcher. |
| kDeregistered | The task was removed from the dispatcher by another thread. |
| kCompleted | The task finished running. |