pub type NSUserScriptTaskCompletionHandler = *mut Block<dyn Fn(*mut NSError)>;
NSError
NSUserScriptTask
block2
Apple’s documentation