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

Method then

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

Source from the content-addressed store, hash-verified

396
397 template <typename X>
398 Future<X> then(lambda::CallableOnce<Future<X>()> f) const
399 {
400 return then(lambda::CallableOnce<Future<X>(const T&)>(
401 lambda::partial(std::move(f))));
402 }
403
404 template <typename X>
405 Future<X> then(lambda::CallableOnce<X()> f) const

Callers

nothing calls this directly

Calls 1

thenFunction · 0.85

Tested by

no test coverage detected