Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ RunCallback
Method
RunCallback
test/embind/test_optional_val_lib.cpp:12–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
};
11
12
void MyType::RunCallback(emscripten::val cb) {
13
cb(std::make_optional(std::string{
"Hey"
}));
14
}
Callers
1
main
Function · 0.80
Calls
1
cb
Function · 0.50
Tested by
no test coverage detected