Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
type alias IngestionFilterFn
import { type IngestionFilterFn } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

IngestionFilterFn prevents a value from being ingested by the iterator. It is executed on push. If ingest is false the value shouldn't be pushed. If protcol is true, the value is a protcol value

Type Parameters

optional
T = unknown
definition: (data: T | null, src?: unknown) => IngestionFilterFnResult