Skip to main content

Module tail

Module tail 

Source
Expand description

Incremental NDJSON tailing. trace.ndjson and session/entries.ndjson are append-only, so a tailer only ever reads bytes past its offset. A partial trailing line (a writer mid-append) is buffered until the newline arrives. Truncation (which the format forbids) resets the tailer.

Structsยง

NdjsonTailer