NodeTrackerWidgetDataSource

class NodeTrackerWidgetDataSource(nodeRepository: NodeRepository, connectionStateProvider: ConnectionStateProvider, localeUnitsProvider: LocaleUnitsProvider, scope: ApplicationCoroutineScope)(source)

Constructors

Link copied to clipboard
constructor(nodeRepository: NodeRepository, connectionStateProvider: ConnectionStateProvider, localeUnitsProvider: LocaleUnitsProvider, scope: ApplicationCoroutineScope)

Properties

Link copied to clipboard

inputs, with each empty node map checked against the database the same way, so an empty map is passed on only when the open DB really is empty.

Link copied to clipboard
val inputs: StateFlow<NodeTrackerInputs>

Functions

Link copied to clipboard

The current inputs, reading the database directly while the repository's flow still holds its empty initial value after a cold process start; otherwise a widget rendered then would claim its node was not found.