Skip to main content

update_book

Function update_book 

Source
pub fn update_book<T>(
    store: &CloudStore,
    instance_id: &str,
    change: impl FnOnce(&mut Vec<LocalWorker>) -> T,
) -> Result<T, CloudError>
Expand description

Read-modify-write the book under its lock.