Home
last modified time | relevance | path

Searched refs:prependListener (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/lib/internal/streams/
Dlegacy.js66 prependListener(source, 'error', onerror);
67 prependListener(dest, 'error', onerror);
96 function prependListener(emitter, event, fn) { function
99 if (typeof emitter.prependListener === 'function')
100 return emitter.prependListener(event, fn);
114 module.exports = { Stream, prependListener }; field
Dreadable.js40 const { Stream, prependListener } = require('internal/streams/legacy');
756 prependListener(dest, 'error', onerror);
Dwritable.js692 stream.prependListener('error', onerror);
/third_party/node/test/parallel/
Dtest-event-emitter-prepend.js13 myEE.prependListener('foo', common.mustCall(() => assert.strictEqual(m++, 1)));
24 delete EventEmitter.prototype.prependListener; method in delete
Dtest-stream-events-prepend.js8 this.prependListener = undefined;
/third_party/node/lib/internal/
Dwatchdog.js32 process.prependListener('newListener', this._onNewListener);
/third_party/node/benchmark/net/
Dnet-c2s-cork.js85 Writer.prototype.prependListener = function() {}; method in Writer
Dnet-wrap-js-stream-passthrough.js76 Writer.prototype.prependListener = function() {}; method in Writer
Dnet-c2s.js81 Writer.prototype.prependListener = function() {}; method in Writer
Dnet-pipe.js84 Writer.prototype.prependListener = function() {}; method in Writer
Dnet-s2c.js117 Writer.prototype.prependListener = function() {}; method in Writer
/third_party/node/deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/deps/npm/node_modules/parallel-transform/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/deps/npm/node_modules/stream-iterate/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/deps/npm/node_modules/readable-stream/lib/
D_stream_readable.js95 function prependListener(emitter, event, fn) { function
98 …if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // T…
708prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only …
/third_party/node/deps/npm/node_modules/concat-stream/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/deps/npm/node_modules/through2/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/deps/npm/node_modules/duplexify/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/deps/npm/node_modules/from2/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/deps/npm/node_modules/flush-write-stream/node_modules/readable-stream/lib/
D_stream_readable.js89 function prependListener(emitter, event, fn) { function
92 if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
644 prependListener(dest, 'error', onerror);
/third_party/node/lib/
Devents.js509 EventEmitter.prototype.prependListener = method in EventEmitter
510 function prependListener(type, listener) {
556 this.prependListener(type, _onceWrap(this, type, listener));
D_http_server.js493 socket.prependListener = generateSocketListenerWrapper('prependListener');
954 this.prependListener = net.Socket.prototype.prependListener;
Ddomain.js184 process.prependListener(name, domainUncaughtExceptionClear);
/third_party/node/doc/api/
Devents.md472 `emitter.prependListener()` method can be used as an alternative to add the
478 myEE.prependListener('foo', () => console.log('b'));
519 ### `emitter.prependListener(eventName, listener)`
535 server.prependListener('connection', (stream) => {
1186 Specifically the `prependListener()`, `prependOnceListener()`,

12