Skip to main content

batch

Function batch 

Source
pub fn batch<R>(update: impl FnOnce() -> R) -> R
Expand description

Group synchronous writes into one notification per affected effect. Nested batches flush at the outer boundary. This is not a rollback transaction.