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

Function defer

include/process/defer.hpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34template <typename T>
35Deferred<void()> defer(const PID<T>& pid, void (T::*method)())
36{
37 return Deferred<void()>([=]() { dispatch(pid, method); });
38}
39
40
41template <typename T>

Callers 15

nextMethod · 0.85
processMethod · 0.85
streamMethod · 0.85
sendMethod · 0.85
readMethod · 0.85
runMethod · 0.85
stopMethod · 0.85
consumeMethod · 0.85
_consumeMethod · 0.85
snapshotMethod · 0.85
_snapshotMethod · 0.85
TEST_FFunction · 0.85

Calls 3

selfMethod · 0.80
deferMethod · 0.80
dispatchFunction · 0.70

Tested by 6

TEST_FFunction · 0.68
handlerMethod · 0.68
TEST_FFunction · 0.68
func1Method · 0.68
func2Method · 0.68
TESTFunction · 0.68