pub type HistoryWriter = Option<Arc<Mutex<HistoryFile>>>;Expand description
Optional history-file handle shared by every active subscription.
None when [pubsub].history_file is unset; Some(handle) when
the operator opted in. JSONL appends and rotation are serialised
through the mutex so concurrent watchers don’t tear lines.
Aliased Type§
pub enum HistoryWriter {
None,
Some(Arc<Mutex<HistoryFile>>),
}