import { type IngestionFilterFn } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.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
definition: (data: T | null, src?: unknown) => IngestionFilterFnResult