Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial implementation of "many sender" concept #67

Closed
lewissbaker opened this issue Jan 29, 2020 · 1 comment
Closed

Add initial implementation of "many sender" concept #67

lewissbaker opened this issue Jan 29, 2020 · 1 comment

Comments

@lewissbaker
Copy link
Contributor

Add a "many sender" concept that can send a sequence of calls to a "many receiver":

  • zero or more set_next() calls followed by;
  • a call to one of set_value(), set_done() or set_error().

Add a bulk_schedule(scheduler, count) algorithm that sends count calls to set_next(r, idx).
This should have a default implementation in terms of schedule(scheduler)

Add a get_execution_policy(receiver) CPO that allows a many-sender to query whether the receiver is able to support unsequenced/concurrent invocations of set_next().

Add some basic many-sender algorithms.

  • reduce()
  • for_each()
  • transform()
  • to_vector()
@janondrusek
Copy link
Contributor

#134 introduced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants