fix: DOC-FULL V1 export deprecated
This commit is contained in:
parent
5fb372eb58
commit
3b0625ffbb
@ -37,6 +37,7 @@ pub fn update_reading_position(material_id: &str, position: ReadingPosition) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Export all pending events without clearing.
|
/// 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> {
|
pub fn export_pending_events() -> Vec<ReadingEvent> {
|
||||||
EVENT_BUFFER.lock().map(|buf| buf.clone()).unwrap_or_default()
|
EVENT_BUFFER.lock().map(|buf| buf.clone()).unwrap_or_default()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user