Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ empty
Method
empty
valdi_core/src/valdi_core/cpp/Utils/Future.hpp:59–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
~Future() = default;
58
59
bool empty() const {
60
return _state == nullptr;
61
}
62
63
void then(Function<void(Result<T>)> handler) const {
64
SC_ASSERT_NOTNULL(_state);
Callers
2
onResult
Method · 0.45
setResult
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected