GetSegmentedDataByIdsUseCase

Reads several entries at once within one namespace of the persistent segmented (segmentedDataBase(segmentId)) local database — backs GetData's batchAccessMode(...) over segmentedDataBase(segmentId). Reachable via get<GetSegmentedDataByIdsUseCase>().

Constructors

Link copied to clipboard
constructor(repository: MosaicRepository)

Types

Link copied to clipboard
data class Params(val segmentKey: String, val dataKeys: List<String>)

Functions

Link copied to clipboard
open suspend override fun execute(params: GetSegmentedDataByIdsUseCase.Params): Result<Map<String, Any>>
Link copied to clipboard