cancellation_token_source::get_token 메서드
이 소스와 연결된 취소 토큰을 반환합니다. 반환된 토큰은 취소를 폴링하거나 취소가 발생할 경우 콜백을 제공할 수 있습니다.
cancellation_token get_token() const;
반환 값
이 소스와 연결된 취소 토큰입니다.
요구 사항
헤더: pplcancellation_token.h
네임스페이스: 동시성
이 소스와 연결된 취소 토큰을 반환합니다. 반환된 토큰은 취소를 폴링하거나 취소가 발생할 경우 콜백을 제공할 수 있습니다.
cancellation_token get_token() const;
이 소스와 연결된 취소 토큰입니다.
헤더: pplcancellation_token.h
네임스페이스: 동시성