MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / Wait

Method Wait

internal/sshserver/TestClientSession.go:74–74  ·  view source on GitHub ↗

Wait waits for the session to terminate.

()

Source from the content-addressed store, hash-verified

72
73 // Wait waits for the session to terminate.
74 Wait() error
75
76 // ExitCode returns the exit code received from the session, or -1 if not received.
77 ExitCode() int

Callers 15

OnShutdownMethod · 0.65
removeMethod · 0.65
readFunction · 0.65
TestProperShutdownFunction · 0.65
ShutdownMethod · 0.65
RunWithLifecycleMethod · 0.65
handleConnectionMethod · 0.65
WaitMethod · 0.65

Implementers 1

testClientSessionImplinternal/sshserver/testClientSessionIm

Calls

no outgoing calls

Tested by 3

readFunction · 0.52
TestProperShutdownFunction · 0.52
testPipelineFunction · 0.52