withDb

open suspend override fun <T> withDb(block: suspend (MeshtasticDatabase) -> T): T?(source)

Execute block with the current DB instance. Retries once if the pool closes during a DB switch.