@persian-caesar/hycom-api
Version:
A package for easy using hycom.ir api service.
11 lines (10 loc) • 539 B
TypeScript
export declare function sleep(ms: number): Promise<unknown>;
export declare function repeatAction<T>(action: () => Promise<T>, maxAttempts?: number, delayMs?: number): Promise<T | undefined>;
/**
* @copyright
* Code by Sobhan-SRZA (mr.sinre) | https://github.com/Sobhan-SRZA
* Developed for Persian Caesar | https://github.com/Persian-Caesar | https://dsc.gg/persian-caesar
*
* If you encounter any issues or need assistance with this code,
* please make sure to credit "Persian Caesar" in your documentation or communications.
*/