MCPcopy
hub / github.com/gliderlabs/ssh / Break

Method Break

session.go:84–84  ·  view source on GitHub ↗

Break regisers a channel to receive notifications of break requests sent from the client. The channel must handle break requests, or it will block the request handling loop. Registering nil will unregister the channel. During the time that no channel is registered, breaks are ignored.

(c chan<- bool)

Source from the content-addressed store, hash-verified

82 // the request handling loop. Registering nil will unregister the channel.
83 // During the time that no channel is registered, breaks are ignored.
84 Break(c chan<- bool)
85}
86
87// maxSigBufSize is how many signals will be buffered

Callers 1

Implementers 1

sessionsession.go

Calls

no outgoing calls

Tested by 1