SSHExecEventHandler
public class SSHExecEventHandler : SSHExecDelegate
This is a quick way to get an object conforming to SSHExecDelegate
-
Initializes the event object
Declaration
Swift
public init(onStdout: ((String) -> Void)? = nil, onStderr: ((String) -> Void)? = nil, cancelFunction: ((_ cancelId: String) -> Void)? = nil)
Parameters
onStdout
onStderr
cancelFunction
-
Declaration
Swift
public var onStdout: ((String) -> Void)?
-
Declaration
Swift
public var onStderr: ((String) -> Void)?
-
Declaration
Swift
public var cancelFunction: ((_ cancelId: String) -> Void)?