Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function deadline
import { deadline } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Parameters

p: Promise<T>
optional
millis = [UNSUPPORTED]

Returns

Promise<T>