Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias ProtocolFilterFn
import { type ProtocolFilterFn } from "https://deno.land/x/natsws@v1.28.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