import { deadline } from "https://deno.land/std@0.168.0/async/mod.ts";
Create a promise which will be rejected with DeadlineError
when a given delay is exceeded.
Parameters
p: Promise<T>
import { deadline } from "https://deno.land/std@0.168.0/async/mod.ts";
Create a promise which will be rejected with DeadlineError
when a given delay is exceeded.