NSUserScriptTask.CompletionHandler

Implement this block to retrieve the error of the script executed by Execute(completionhandler:).

Declaration

typealias CompletionHandler = @Sendable ((any Error)?) -> Void