Skip to main content
Deno 2 is finally 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