SSHExecDelegate
public protocol SSHExecDelegate
This protocol enables realtime features for remote command execution
-
Gets called if new data on stdout is available.
Note
This is not per lineDeclaration
Swift
var onStdout: ((_ data: String) -> Void)? { get set }
-
Gets called if new data on stderr is available.
Note
This is not per lineDeclaration
Swift
var onStderr: ((_ data: String) -> Void)? { get set }
-
Gets called if the id required for
SSH.cancel
is availableWarning
There is a chance this never gets calledDeclaration
Swift
var cancelFunction: ((_ cancelId: String) -> Void)? { get set }