# std::execution::on

> C++ Atlas: `cppatlas.com/w/cpp/execution/on` | Source: https://en.cppreference.com/w/cpp/execution/on | Domain: Execution | Standards: C++26

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.

## Official Specification Summary (cppreference)

```cpp
// Defined in header <execution>

execution::sender auto on( execution::scheduler auto sched,
                           execution::sender auto snd ); // (since C++26)
```

### Parameters

- `sched` - provides execution agent on which the sender will be executed
- `snd` - 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.

### Example

> Note: This section is incomplete Reason: no example

---
Attribution: content from https://en.cppreference.com/w/cpp/execution/on (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.