Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ wait_for
Method
wait_for
thread/future.h:76–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
74
return -1;
75
}
76
int wait_for(Timeout timeout = {}) {
77
return wait(timeout);
78
}
79
};
80
81
template<typename T>
Callers
3
suspend
Method · 0.45
wait_and_fire_events
Method · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36