std::execution::on(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’… std::execution::on(3) πŸ’…

okay so this is the C++ Standard Libary manual page for std::execution::on, and it’s giving very specific scheduler-and-sender energy. πŸ¦‹

✨ NAME ✨

std::execution::on - std::execution::on β€” literally that, bestie. No extra lore. πŸ’–

πŸŽ€ Synopsis πŸŽ€

Defined in header <execution>:

execution::sender auto on(

    execution::scheduler auto sched,  (since C++26)
    execution::sender auto snd

);

🌸 Parameters 🌸

  • sched β€” provides the execution agent on which the sender will be executed. πŸ’…
  • snd β€” the work to be executed on the execution resource associated with sched. 🫢

πŸ’– Return value πŸ’–

Returns a sender which, when started, will start the provided sender on an execution agent belonging to the execution resource associated with the provided scheduler. ✨

The returned sender has no completion schedulers. periodt. πŸ’€


kisses bestie, source is http://cppreference.com, version/date is 2024.06.10, and the page is std::execution::on(3) β€” mwah πŸ’‹

πŸ“¦ where this page comes from