batch

abstract suspend fun <T> batch(block: suspend AdminBatchScope.() -> T): T(source)

Exception-based counterpart to editSettings that also exposes batched getter helpers.

Getter failures throw AdminResultException via getOrThrow. If block throws, the SDK does not send commit_edit_settings; firmware eventually discards the buffered edits.