FakeDatabaseProvider

A real DatabaseProvider that uses an in-memory database for testing.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val currentDb: StateFlow<MeshtasticDatabase>

Functions

Link copied to clipboard
fun close()
Link copied to clipboard
open suspend override fun <T> withDb(block: suspend (MeshtasticDatabase) -> T): T?