Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Naios/continuable
/ resolve
Function
resolve
test/threads/test-threads.cpp:28–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
#include <future>
27
28
void resolve(std::promise<int> p) { p.set_value(0); }
29
30
int main(int, char**) {
31
std::promise<int> p;
Callers
1
main
Function · 0.85
Calls
1
set_value
Method · 0.45
Tested by
no test coverage detected