What's the recommended way to wait a list of senders?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.4k
- Forks
- 270
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 39
Description
e.g. I have a vector of senders.
int n = <some runtime-known number>;
std::vector<MySender> senders;
for (int i = 0; i < n; ++i) {
senders.push_back(...);
}
How to execute them in parallel and get all results? when_all doesn't work because all input senders of when_all should be known at compile-time. I can't pass a vector to when_all.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue's vector-of-senders example and the constraints of the mentioned when_all facility. Determine whether the project already has an entry point for dynamically sized sender collections and what parallel execution and result collection should mean. Done should be a documented, agreed recommendation or a clearly scoped change request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100