Files
NapCatQQ/.pnpm-store/v3/files/91/a84979421b6e265f57210699cf97246899d0f8a1baa6f62be1abe904ac5daeea42397eabc69a15a909e924ce69980e4eae77949a3ea2635b9c947204836e19
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

10 lines
443 B
Plaintext

import { IBackOffOptions, BackoffOptions } from "./options";
export { BackoffOptions, IBackOffOptions };
/**
* Executes a function with exponential backoff.
* @param request the function to be executed
* @param options options to customize the backoff behavior
* @returns Promise that resolves to the result of the `request` function
*/
export declare function backOff<T>(request: () => Promise<T>, options?: BackoffOptions): Promise<T>;