Skip to main content

preview_compaction_disclosure

Function preview_compaction_disclosure 

Source
pub fn preview_compaction_disclosure(
    runtime: &Runtime,
    api_messages: &[SharedMessage],
) -> CompactionDisclosure
Expand description

Compute the disclosure summary for the next compaction WITHOUT any network operation. Uses the same rendering as the dispatch path, so the preview is exact for content classes and approximate only in bytes.