Skip to main content

flush_session

Function flush_session 

Source
pub fn flush_session(session_id: String) -> Receiver<()>
Expand description

Request the writer thread to drain and flush every file for session_id, returning a receiver that fires once the flush has completed. Consumers use this to establish a happens-before relationship between bundle.close() resolving and a reader opening the session’s log files.