@midwayjs/coreFunctionsretryWith版本:NextretryWith CallableretryWith<T>(retryFn: T, retryTimes?: number, options?: { receiver?: any; throwOriginError?: boolean }): (...args: Parameters<T>) => ReturnType<T>wrap sync function with retryType parametersT: (...args: any[]) => unknown
wrap sync function with retry