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

TypedCallback

import type { TypedCallback } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts";

Callback presented to the user with the converted type

type TypedCallback<T> = (err: NatsError | null, msg: T | null) => void;

§Type Parameters

§Type

§
(err: NatsError | null, msg: T | null) => void
[src]