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