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