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>;
}§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]