Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3rdparty/libprocess
/ discard
Method
discard
include/process/future.hpp:810–816 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
808
809
template <typename T>
810
bool Promise<T>::discard()
811
{
812
if (!f.data->associated) {
813
return discard(f);
814
}
815
return false;
816
}
817
818
819
template <typename T>
Callers
15
finalize
Method · 0.45
close
Method · 0.45
serve
Function · 0.45
stop
Method · 0.45
finalize
Method · 0.45
foreachvalue
Method · 0.45
synchronized
Function · 0.45
snapshot
Method · 0.45
set_io_promise
Function · 0.45
recv
Method · 0.45
pollCallback
Function · 0.45
discard_poll
Function · 0.45
Calls
5
discard
Function · 0.85
clearAllCallbacks
Method · 0.80
run
Function · 0.70
synchronized
Function · 0.50
swap
Method · 0.45
Tested by
12
TEST
Function · 0.36
TEST
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST
Function · 0.36
TEST_F_TEMP_DISABLED_ON_WINDOWS
Function · 0.36
TEST_F
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36