Rezi
    Preparing search index...

    Function useTail

    • Tail a file source and retain a bounded in-memory line buffer.

      Backpressure behavior: when incoming line rate exceeds the configured maxBuffer, the oldest lines are dropped and counted in dropped.

      Type Parameters

      • T = string

      Parameters

      Returns UseTailState<T>