... define the callback signature in where clause #[napi] fn test_callback<T>(callback: T) where T: Fn(String) -> Result<()> {} /// async fn, ...
確定! 回上一頁