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;