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

Method get

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

Source from the content-addressed store, hash-verified

652
653template <typename T>
654Option<Future<T>> WeakFuture<T>::get() const
655{
656 Future<T> future;
657 future.data = data.lock();
658
659 if (future.data) {
660 return future;
661 }
662
663 return None();
664}
665
666
667// Helper for creating failed futures.

Callers 7

discardFunction · 0.45
FutureMethod · 0.45
future.hppFile · 0.45
thenfFunction · 0.45
thenFunction · 0.45
afterFunction · 0.45
_setMethod · 0.45

Calls 2

NoneClass · 0.85
lockMethod · 0.80

Tested by

no test coverage detected