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

ProtocolFilterFn

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

ProtocolFilterFn allows filtering of values that shouldn't be presented to the iterator. ProtocolFilterFn is executed when a value is about to be presented

type ProtocolFilterFn<T = unknown> = (data: T | null) => boolean;

§Type Parameters

§
T = unknown
[src]

§Type

§
(data: T | null) => boolean
[src]