MCPcopy 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
12void MyType::RunCallback(emscripten::val cb) {
13 cb(std::make_optional(std::string{"Hey"}));
14}

Callers 1

mainFunction · 0.80

Calls 1

cbFunction · 0.50

Tested by

no test coverage detected