Lines Matching defs:end
106 // At the start of calling end()
108 // When end() has been called, and returned.
146 // end up in an overlapped onwrite situation.
184 // Should .destroy() be called after 'finish' (and potentially 'end').
525 onfinishCallbacks[i](state.errored ?? new ERR_STREAM_DESTROYED('end'));
597 Writable.prototype.end = function(chunk, encoding, cb) {
618 // .end() fully uncorks.
627 // This is forgiving in terms of unnecessary calls to end() and can hide
630 // trivial for the user to determine whether end() needs to be called
637 err = new ERR_STREAM_ALREADY_FINISHED('end');
639 err = new ERR_STREAM_DESTROYED('end');
756 // We don't expect the readable to ever 'end'