std::execut...:let_stopped(3)
okay so bestie, welcome to the C++ Standard Libary manual π the page is std::execut...:let_stopped(3) β yes, the title really is that chopped-looking std::execut...:let_stopped(3), and we're about to make it make sense. no cap.
π NAME π
std::execution::let_stopped - std::execution::let_stopped (it's giving "name so nice they said it twice" β¨)
β¨ Synopsis β¨
Defined in header <execution> π¦
execution::sender auto let_stopped(
execution::sender auto input, (since C++26)
std::invocable auto function
);
π¦ Parameters π¦
inputβ the sender that, once it's stopped, sends the"stop token"to execute thefunctionπfunctionβ the invocable to be called with errors in case an error occurs by theinputsender π«Ά
π Return value π
Returns a sender describing the task graph described by the input sender, with an added node invoked when the "stopped" signal is sent. periodt π₯
kisses bestie π this one's sourced from http://cppreference.com, dated 2024.06.10 β catch you in the next manpage, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms