cplusplus / sender-receiver

Issues list for P2300
Apache License 2.0
20 stars 3 forks source link

The specification of `split` should require that the input sender is only connected once. #138

Closed ericniebler closed 3 months ago

ericniebler commented 10 months ago

Issue by lewissbaker Wednesday Jun 23, 2021 at 23:59 GMT Originally opened as https://github.com/NVIDIA/stdexec/issues/130


@griwes mentioned that the current wording of execution::split allows customisations to execute the input operation multiple times. This seems counter to the point of this operation and the default implementation only connects the input sender once when it's called.

I think we should restrict customisations to only connect() the input operation once. i.e. make sure it's semantically equivalent to the default implementation

lewissbaker commented 3 months ago

This is a duplicate of #129