A Co-Routine handle.
More...
#include <coroutine.hpp>
◆ handle()
qOS::co::handle::handle |
( |
| ) |
|
|
default |
◆ operator bool()
qOS::co::handle::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Check if the Co-Routine handle is valid.
- Returns
true
if handle is valid
◆ try_restart()
void qOS::co::handle::try_restart |
( |
void | | ) |
|
|
noexcept |
◆ try_resume()
void qOS::co::handle::try_resume |
( |
void | | ) |
|
|
noexcept |
Try to resume the coroutine execution externally after a suspend operation.
◆ try_set()
◆ try_suspend()
void qOS::co::handle::try_suspend |
( |
void | | ) |
|
|
noexcept |
Try to suspend the coroutine execution externally.