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

Function onFinish

lib/Channel.js:268–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266}
267
268function onFinish() {
269 this.eof();
270 if (this.server || !this.allowHalfOpen)
271 this.close();
272 this.writable = false;
273}
274
275function onEnd() {
276 this.readable = false;

Callers

nothing calls this directly

Calls 2

eofMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…