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

Function run

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

Source from the content-addressed store, hash-verified

619// TODO(*): Invoke callbacks in another execution context.
620template <typename C, typename... Arguments>
621void run(std::vector<C>&& callbacks, Arguments&&... arguments)
622{
623 for (size_t i = 0; i < callbacks.size(); ++i) {
624 std::move(callbacks[i])(std::forward<Arguments>(arguments)...);
625 }
626}
627
628} // namespace internal {
629

Callers 4

discardMethod · 0.70
abandonMethod · 0.70
_setMethod · 0.70
failMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected