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

TypedSubscriptionOptions

import type { TypedSubscriptionOptions } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts";
interface TypedSubscriptionOptions <T> extends SubOpts<T> {
adapter: MsgAdapter<T>;
callback?: TypedCallback<T>;
cleanupFn?: (sub: Subscription, info?: unknown) => void;
dispatchedFn?: DispatchedFn<T>;
ingestionFilterFn?: IngestionFilterFn<T>;
protocolFilterFn?: ProtocolFilterFn<T>;
}

§Type Parameters

§Extends

§Properties

§
adapter: MsgAdapter<T>
[src]
§
callback?: TypedCallback<T>
[src]
§
cleanupFn?: (sub: Subscription, info?: unknown) => void
[src]
§
dispatchedFn?: DispatchedFn<T>
[src]
§
ingestionFilterFn?: IngestionFilterFn<T>
[src]
§
protocolFilterFn?: ProtocolFilterFn<T>
[src]