prorm API Reference
    Preparing search index...

    Class FilterTransform<T>

    Transform stream that filters records based on a predicate function Supports both synchronous and asynchronous filter functions

    Type Parameters

    • T = any

    Hierarchy

    • Transform
      • FilterTransform
    Index
    • Transform and filter a chunk (record)

      Parameters

      • record: T
      • encoding: string
      • callback: (error?: Error | null, data?: T) => void

      Returns Promise<void>