Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/stdexec
/ main
Function
main
examples/retry.cpp:60–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
};
59
60
auto main() -> int
61
{
62
auto x = retry(fail_some{});
63
// prints:
64
// fail!
65
// fail!
66
// success!
67
auto [a] = stdexec::sync_wait(std::move(x)).value();
68
(void) a;
69
}
Callers
nothing calls this directly
Calls
2
retry
Function · 0.85
value
Method · 0.45
Tested by
no test coverage detected