MCPcopy Create free account
hub / github.com/mscdex/ssh2 / reqCb

Method reqCb

lib/client.js:1211–1219  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

1209 const todo = [];
1210
1211 function reqCb(err) {
1212 if (err) {
1213 chan.close();
1214 cb(err);
1215 return;
1216 }
1217 if (todo.length)
1218 todo.shift()();
1219 }
1220
1221 if (this.config.allowAgentFwd === true
1222 || (opts

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected