batch<R> static method
R
batch<R>(
- R callback()
Executes callback in a synchronous batch.
Notifications for all variables mutated inside the batch are deferred
until the callback completes, ensuring only a single notification per variable.
Implementation
static R batch<R>(R Function() callback) {
return Lx.batch(callback);
}