Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
template <typename T>
35
Deferred<void()> defer(const PID<T>& pid, void (T::*method)())
36
{
37
return Deferred<void()>([=]() { dispatch(pid, method); });
38
}
39
40
41
template <typename T>
Callers
15
next
Method · 0.85
process
Method · 0.85
stream
Method · 0.85
send
Method · 0.85
read
Method · 0.85
run
Method · 0.85
stop
Method · 0.85
consume
Method · 0.85
_consume
Method · 0.85
snapshot
Method · 0.85
_snapshot
Method · 0.85
TEST_F
Function · 0.85
Calls
3
self
Method · 0.80
defer
Method · 0.80
dispatch
Function · 0.70
Tested by
6
TEST_F
Function · 0.68
handler
Method · 0.68
TEST_F
Function · 0.68
func1
Method · 0.68
func2
Method · 0.68
TEST
Function · 0.68