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

Function delay

include/process/delay.hpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30template <typename T>
31Timer delay(const Duration& duration,
32 const PID<T>& pid,
33 void (T::*method)())
34{
35 return Clock::timer(duration, [=]() {
36 dispatch(pid, method);
37 });
38}
39
40
41template <typename T>

Callers 2

acquireMethod · 0.70
_acquireMethod · 0.70

Calls 2

selfMethod · 0.80
dispatchFunction · 0.70

Tested by

no test coverage detected