Type alias IngestionFilterFn<T>

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

Type Parameters

  • T = unknown

Type declaration

    • (data: T | null, src?: unknown): 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.

      Parameters

      • data: T | null
      • Optional src: unknown

      Returns IngestionFilterFnResult

Generated using TypeDoc