Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
type alias ProtocolFilterFn
import { type ProtocolFilterFn } from "https://deno.land/x/natsws@v1.27.0/src/nats-base-client.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 Parameters

optional
T = unknown
definition: (data: T | null) => boolean