Type alias IngestionFilterFn<T>

IngestionFilterFn<T>: ((data, src?) => IngestionFilterFnResult)

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

@param: data is the value @src: is the source of the data if set.

Type Parameters

  • T = unknown

Type declaration