Skip to main content

Module ipc

Module ipc 

Source
Expand description

Generic JSONL read/write with cursor-based polling.

Provides JsonlReader and JsonlWriter for line-delimited JSON files. The reader tracks a byte offset so that each call to JsonlReader::poll only returns newly appended records since the last read.

Structsยง

JsonlReader
Reads JSONL records from a file, tracking the byte offset so that each poll only returns lines appended since the previous read.
JsonlWriter
Appends JSONL records to a file, creating parent directories as needed.