Namespaces
Variants

std::execution:: on

From cppreference.net
헤더에 정의됨 <execution>
execution :: sender auto on ( execution :: scheduler auto sched,
execution :: sender auto snd ) ;
(C++26부터)

매개변수

sched - 발신자가 실행될 실행 에이전트를 제공합니다
snd - sched와 연관된 실행 리소스에서 실행될 작업

반환값

제공된 스케줄러와 연관된 실행 리소스에 속한 실행 에이전트 상에서 제공된 sender를 시작할 때, 이를 시작할 sender를 반환합니다.

반환된 발신자에게는 완료 스케줄러가 없습니다.

예제