MCPcopy Index your code
hub / github.com/nodejs/node / [kEmitMessage]

Method [kEmitMessage]

lib/internal/test_runner/tests_stream.js:182–187  ·  view source on GitHub ↗
(type, data)

Source from the content-addressed store, hash-verified

180 }
181
182 [kEmitMessage](type, data) {
183 this.emit(type, data);
184 // Disabling as this going to the user-land
185 // eslint-disable-next-line node-core/set-proto-to-null-in-object
186 this.#tryPush({ type, data });
187 }
188
189 #tryPush(message) {
190 if (this.#canPush) {

Callers

nothing calls this directly

Calls 2

#tryPushMethod · 0.95
emitMethod · 0.45

Tested by

no test coverage detected