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

Timeout

import type { Timeout } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts";
interface Timeout <T> extends Promise<T> {
cancel: () => void;
}

§Type Parameters

§Extends

§
Promise<T>
[src]

§Properties

§
cancel: () => void
[src]