|
tin
1.5.9
|
#include <coroutine.h>

Public Member Functions | |
| select_awaitable (Awaitables... awaitables) | |
| bool | await_ready () noexcept |
| void | await_suspend (task::handle_type handle) noexcept |
| select_result | await_resume () noexcept |
Wait for the first ready awaitable in a small fixed set.
The selected index corresponds to the argument order. This primitive is intended for event/timer control flow such as "button or timeout". Payload extraction remains explicit through channels/signals outside the select.
|
inlineexplicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |