GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — stream: named anonymous functions in _stream_readable.js · nodejs/node@d0c16f4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • _stream_readable.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/_stream_readable.js‎

Copy file name to clipboardExpand all lines: lib/_stream_readable.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ Readable.prototype.pipe = function(dest, pipeOpts) {
721721
};
722722

723723
function pipeOnDrain(src) {
724-
return function() {
724+
return function pipeOnDrainFunctionResult() {
725725
var state = src._readableState;
726726
debug('pipeOnDrain', state.awaitDrain);
727727
if (state.awaitDrain)
@@ -951,8 +951,8 @@ Readable.prototype.wrap = function(stream) {
951951
// important when wrapping filters and duplexes.
952952
for (var i in stream) {
953953
if (this[i] === undefined && typeof stream[i] === 'function') {
954-
this[i] = function(method) {
955-
return function() {
954+
this[i] = function methodWrap(method) {
955+
return function methodWrapReturnFunction() {
956956
return stream[method].apply(stream, arguments);
957957
};
958958
}(i);

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.