MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / check_stop_possible

Function check_stop_possible

test/exec/test_task.cpp:255–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 }
254
255 auto check_stop_possible() -> exec::task<void>
256 {
257 auto stop_token = co_await STDEXEC::get_stop_token();
258 CHECK(stop_token.stop_possible());
259 }
260
261 TEST_CASE("task - stop token is forwarded", "[types][task]")
262 {

Callers 1

test_task.cppFile · 0.85

Calls 1

stop_possibleMethod · 0.45

Tested by

no test coverage detected