pub type AfterFn = Rc<dyn Fn(&AppHandle, &Value, &Result<Value, String>)>;
An after-hook: sees the arguments and the result.
pub struct AfterFn { /* private fields */ }