Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

deadline

import { deadline } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
function deadline<T>(p: Promise<T>, millis?): Promise<T>;
§
deadline<T>(p: Promise<T>, millis?): Promise<T>
[src]

§Type Parameters

§Parameters

§
p: Promise<T>
[src]
§
millis? optional
[src]

§Return Type

§
Promise<T>
[src]