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 — assign once listeners · googleapis/retry-request@4b19be7

This repository was archived by the owner on Mar 10, 2026. It is now read-only.

File tree

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

‎index.js‎

Copy file name to clipboardExpand all lines: index.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ function retryRequest(requestOpts, opts, callback) {
8989
requestStream = opts.request(requestOpts);
9090

9191
requestStream
92-
.on('error', onResponse)
93-
.on('response', onResponse.bind(null, null))
94-
.on('complete', retryStream.emit.bind(retryStream, 'complete'))
92+
.once('error', onResponse)
93+
.once('response', onResponse.bind(null, null))
94+
.once('complete', retryStream.emit.bind(retryStream, 'complete'))
9595
.pipe(delayStream);
9696
} else {
9797
activeRequest = opts.request(requestOpts, onResponse);

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.