MCPcopy Index your code
hub / github.com/nodejs/node / SendMessage

Function SendMessage

deps/v8/test/js-perf-test/Inspector/run.js:34–40  ·  view source on GitHub ↗
(method, params)

Source from the content-addressed store, hash-verified

32 NotifyStep: PrintStep });
33
34function SendMessage(method, params) {
35 let obj = {id: ++lastId, method: method};
36 if (params) {
37 obj.params = params;
38 }
39 send(JSON.stringify(obj));
40}
41
42function receive(message) {
43 if (listener) {

Callers 7

SetupFunction · 0.85
EvaluateTestFunction · 0.85
SetupFunction · 0.85
TearDownFunction · 0.85

Calls 1

sendFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…