Lines Matching defs:destroy
55 const destroyImpl = require('internal/streams/destroy');
189 // Should close be emitted on destroy. Defaults to true.
192 // Should .destroy() be called after 'end' (and potentially 'finish').
235 if (typeof options.destroy === 'function')
236 this._destroy = options.destroy;
254 Readable.prototype.destroy = destroyImpl.destroy;
261 this.destroy(err);
268 this.destroy(error);
1073 // TODO (ronag): Should this.destroy(err) emit
1093 this.destroy();
1096 stream.on('destroy', () => {
1097 this.destroy();
1416 stream.destroy();
1459 destroy(err, callback) {