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

ServiceHandler

import type { ServiceHandler } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
type ServiceHandler = (err: NatsError | null, msg: ServiceMsg) => void;

§Type

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