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

Method setAutoRenderDisabled

valdi/src/valdi/runtime/Runtime.cpp:591–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589void Runtime::daemonClientDisconnected(const Shared<IDaemonClient>& daemonClient) {
590 if (_javaScriptRuntime != nullptr) {
591 _javaScriptRuntime->daemonClientDisconnected(daemonClient);
592 }
593}
594
595void Runtime::daemonClientDidReceiveClientPayload(const Shared<IDaemonClient>& daemonClient,
596 int senderClientId,
597 const BytesView& payload) {
598 if (_javaScriptRuntime != nullptr) {
599 _javaScriptRuntime->daemonClientDidReceiveClientPayload(daemonClient, senderClientId, payload);
600 }
601}
602
603void Runtime::setAutoRenderDisabled(bool autoRenderDisabled) {
604 auto oldValue = _autoRenderDisabled.exchange(autoRenderDisabled);

Callers 3

TEST_PFunction · 0.80
createRuntimeMethod · 0.80

Calls 4

flushRenderRequestsMethod · 0.80
getAllContextsMethod · 0.45
dispatchMethod · 0.45

Tested by 1

TEST_PFunction · 0.64