MCPcopy Create free account
hub / github.com/Kudo/react-native-v8 / prepareJavaScript

Method prepareJavaScript

src/v8runtime/V8Runtime.cpp:439–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439std::shared_ptr<const jsi::PreparedJavaScript> V8Runtime::prepareJavaScript(
440 const std::shared_ptr<const jsi::Buffer> &buffer,
441 std::string sourceURL) {
442 return std::make_shared<jsi::SourceJavaScriptPreparation>(
443 buffer, std::move(sourceURL));
444}
445
446jsi::Value V8Runtime::evaluatePreparedJavaScript(
447 const std::shared_ptr<const jsi::PreparedJavaScript> &js) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected