Lines Matching refs:destroy
46 const destroyImpl = require('internal/streams/destroy');
181 // Should close be emitted on destroy. Defaults to true.
184 // Should .destroy() be called after 'finish' (and potentially 'end').
245 if (typeof options.destroy === 'function')
246 this._destroy = options.destroy;
761 stream.destroy();
886 const destroy = destroyImpl.destroy;
887 Writable.prototype.destroy = function(err, cb) {
897 destroy.call(this, err, cb);
907 this.destroy(err);