MCPcopy Create free account
hub / github.com/3rdparty/libprocess / fail

Method fail

include/process/future.hpp:903–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901
902template <typename T>
903bool Promise<T>::fail(const std::string& message)
904{
905 if (!f.data->associated) {
906 return f.fail(message);
907 }
908 return false;
909}
910
911
912template <typename T>

Callers 7

runMethod · 0.45
callMethod · 0.45
waitedMethod · 0.45
failedMethod · 0.45
thenfFunction · 0.45
thenFunction · 0.45
failPromisesFunction · 0.45

Calls 3

clearAllCallbacksMethod · 0.80
runFunction · 0.70
synchronizedFunction · 0.50

Tested by

no test coverage detected