fix: DOC-FULL V1 export deprecated

This commit is contained in:
wangdl 2026-06-07 20:33:53 +08:00
parent 5fb372eb58
commit 3b0625ffbb

View File

@ -37,6 +37,7 @@ pub fn update_reading_position(material_id: &str, position: ReadingPosition) {
}
/// Export all pending events without clearing.
#[deprecated(since = "0.2.0", note = "Use events_v2::export_pending_events_v2 instead")]
pub fn export_pending_events() -> Vec<ReadingEvent> {
EVENT_BUFFER.lock().map(|buf| buf.clone()).unwrap_or_default()
}