NSUserScriptTask.CompletionHandler
Implement this block to retrieve the error of the script executed by Execute(completionhandler:).
Declaration
typealias CompletionHandler = @Sendable ((any Error)?) -> VoidImplement this block to retrieve the error of the script executed by Execute(completionhandler:).
typealias CompletionHandler = @Sendable ((any Error)?) -> Void