Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/http-party/node-http-proxy
/ maybe_done
Function
maybe_done
test/lib-http-proxy-test.js:370–373 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
368
369
var
count = 0;
370
function
maybe_done () {
371
count += 1;
372
if
(count === 2) done();
373
}
374
375
client.on(
'error'
,
function
(err) {
376
expect(err).to.be.an(Error);
Callers
1
lib-http-proxy-test.js
File · 0.85
Calls
1
done
Function · 0.85
Tested by
no test coverage detected