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

Method postMessage

valdi/src/valdi/runtime/JavaScript/JavaScriptWorker.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 JavaScriptTaskScheduleTypeDefault,
58 0,
59 [self = strongSmallRef(this), message](JavaScriptEntryParameters& entry) {
60 self->doPostMessage(entry, message);
61 });
62}
63
64void JavaScriptWorker::close() {
65 doClose();
66}
67
68void JavaScriptWorker::terminate() {

Callers

nothing calls this directly

Calls 3

doPostMessageMethod · 0.95
strongSmallRefFunction · 0.85
dispatchOnJsThreadMethod · 0.45

Tested by

no test coverage detected