insertDwellIfSessionExists
open suspend override fun insertDwellIfSessionExists(result: DiscoveryPresetResultEntity, nodes: List<DiscoveredNodeEntity>, deviceAddress: String): Long?(source)
One resolution, one transaction. Inheriting DiscoveryDao's default body here would issue a separate withDb per statement and reintroduce the switch window the transaction exists to close.