MCPcopy Create free account
hub / github.com/Snapchat/Valdi / queueMicrotask

Method queueMicrotask

valdi/src/valdi/runtime/JavaScript/JavaScriptRuntime.cpp:2156–2159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2154
2155 auto assetWidth = callContext.getContext().newNumber(static_cast<int32_t>(assetSpecs.getWidth()));
2156 auto assetHeight = callContext.getContext().newNumber(static_cast<int32_t>(assetSpecs.getHeight()));
2157
2158 callContext.getContext().setObjectProperty(
2159 wrappedObject.get(), widthName.get(), assetWidth.get(), callContext.getExceptionTracker());
2160 CHECK_CALL_CONTEXT(callContext);
2161
2162 callContext.getContext().setObjectProperty(

Callers

nothing calls this directly

Calls 4

getParameterMethod · 0.80
newUndefinedMethod · 0.80
enqueueMicrotaskMethod · 0.45
getContextMethod · 0.45

Tested by

no test coverage detected