import { type RetryOptions } from "https://deno.land/x/retry@v2.0.0/mod.ts";
Retry options:
- maxTry: maximum number of attempts. if fn is still throwing execption afect maxtry attempts, an exepction is thrown
- delay: number of miliseconds between each attempt.
- until: if given, the function will be call until this function returns tru or until maxTry calls.