Open
Description
Issue by ericniebler
Friday Nov 12, 2021 at 20:49 GMT
Originally opened as NVIDIA/stdexec#254
@kirkshoop says : I would prefer to replace void run()
and void finish()
with:
run_sender run(); // always-inline sender that will not complete until cancelled.
run_chunk_sender run_chunk(); // always-inline sender that will complete when
// all the items in the queue, when the sender was
// started, are all consumed. It will complete even
// if the queue is not empty after consuming those
// items. It will potentially complete early if cancelled.
stop-source-ref get_stop_source();
stop-token get_stop_token() const;
void request_stop();
Metadata
Metadata
Labels
Type
Projects
Status
Ready