update, text, response
This commit is contained in:
4
node_modules/end-of-stream/index.js
generated
vendored
4
node_modules/end-of-stream/index.js
generated
vendored
@@ -2,6 +2,8 @@ var once = require('once');
|
||||
|
||||
var noop = function() {};
|
||||
|
||||
var qnt = global.Bare ? queueMicrotask : process.nextTick.bind(process);
|
||||
|
||||
var isRequest = function(stream) {
|
||||
return stream.setHeader && typeof stream.abort === 'function';
|
||||
};
|
||||
@@ -45,7 +47,7 @@ var eos = function(stream, opts, callback) {
|
||||
};
|
||||
|
||||
var onclose = function() {
|
||||
process.nextTick(onclosenexttick);
|
||||
qnt(onclosenexttick);
|
||||
};
|
||||
|
||||
var onclosenexttick = function() {
|
||||
|
||||
Reference in New Issue
Block a user