Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
type alias ProtocolFilterFn
import { type ProtocolFilterFn } from "https://deno.land/x/natsws@v1.29.2/src/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 Parameters

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