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

Method setValue

valdi/test/integration/JSIntegrationTests.cpp:898–903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896 }
897
898 void setValue(T value) {
899 _taskQueue.enqueue([this, value]() {
900 _lastValue = value;
901 _valueHistory.emplace_back(value);
902 });
903 }
904
905 void clearAndSetValue(T value) {
906 _valueHistory.clear();

Callers 2

setJsQueuePausedFunction · 0.45
TEST_PFunction · 0.45

Calls 1

enqueueMethod · 0.45

Tested by

no test coverage detected