MCPcopy Create free account
hub / github.com/apache/mesos / _set

Method _set

3rdparty/libprocess/include/process/future.hpp:835–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833template <typename T>
834template <typename U>
835bool Promise<T>::_set(U&& u)
836{
837 if (!f.data->associated) {
838 return f.set(std::forward<U>(u));
839 }
840 return false;
841}
842
843
844template <typename T>

Callers

nothing calls this directly

Calls 5

clearAllCallbacksMethod · 0.80
runFunction · 0.70
synchronizedFunction · 0.50
setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected