@ptkl/sdk - v1.3.4
    Preparing search index...

    Type Alias StreamCallback

    StreamCallback: (document: Model) => void | Promise<void>

    Callback function for processing each document in a stream

    Type Declaration

      • (document: Model): void | Promise<void>
      • Parameters

        • document: Model

          A single model document from the stream

        Returns void | Promise<void>