Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
268
function
onFinish() {
269
this.eof();
270
if
(this.server || !this.allowHalfOpen)
271
this.close();
272
this.writable = false;
273
}
274
275
function
onEnd() {
276
this.readable = false;
Callers
nothing calls this directly
Calls
2
eof
Method · 0.80
close
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…