import { deadline } from "https://deno.land/std@0.167.0/async/deadline.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.167.0/async/deadline.ts";
Create a promise which will be rejected with DeadlineError
when a given delay is exceeded.