import { pTimeout } from "https://deno.land/x/timers@v0.2.3/src/pTimeout.ts";
Timeout a promise after a specified amount of time.
Parameters
optional
options: PTimeoutOptions<T> = [UNSUPPORTED]- Do something other than rejecting with an error on timeout. You could for example retry.