| 476 | } |
| 477 | |
| 478 | std::optional<JSValue> IJavaScriptContext::getStashedJSValue(const JSValueID& id) { |
| 479 | auto* stashedJSValue = doGetStashedJSValue(id); |
| 480 | if (stashedJSValue == nullptr) { |
| 481 | return std::nullopt; |
| 482 | } |
| 483 | |
| 484 | return {stashedJSValue->value}; |
| 485 | } |
| 486 | |
| 487 | std::vector<JSValue> IJavaScriptContext::getAllStashedJSValues() { |
| 488 | std::vector<JSValue> out; |
no outgoing calls
no test coverage detected