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

Method createEvent

valdi/src/valdi/hermes/HermesDebuggerConnection.cpp:335–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335Value HermesDebuggerConnection::createEvent(const StringBox& method) {
336 return Value().setMapValue("method", Value(method)).setMapValue("params", Value(makeShared<ValueMap>()));
337}
338
339Value HermesDebuggerConnection::createEvent(const StringBox& method, int id) {
340 return createEvent(method).setMapValue("id", Value(id));

Callers 3

dispatchEventFunction · 0.45
chunk-vendors.jsFile · 0.45
triggerFunction · 0.45

Calls 1

ValueClass · 0.50

Tested by

no test coverage detected