Namespaces
Variants
Actions

std::execution::sync_wait

From cppreference.com
< cpp‎ | thread
 
 
 
Defined in header <execution>
auto sync_wait( execution::sender auto sender )

    requires (/*always-sends-some-values*/(sender))

        -> std::optional<std::tuple</*value-sent-by*/(sender)>>;
(since C++26)

Contents

[edit] Parameters

sender - sender upon which the completion of sync_wait is blocked

[