Skip to main content

with_author

Function with_author 

Source
pub fn with_author<R>(author: &'static str, f: impl FnOnce() -> R) -> R
Expand description

Run f with changes stamped as author: how an undo replay or an importer signs its writes so consumers (a sync engine, a query) can tell them from the user’s.