UpdateSegmentedDataUseCase

Writes a single entry within one namespace of the persistent segmented (segmentedDataBase(segmentId)) local database — backs UpdateData targeting segmentedDataBase(segmentId). Reachable via get<UpdateSegmentedDataUseCase>().

Constructors

Link copied to clipboard
constructor(repository: MosaicRepository)

Types

Link copied to clipboard
data class Params(val segmentKey: String, val dataKey: String, val data: Any)

Functions

Link copied to clipboard
open suspend override fun execute(params: UpdateSegmentedDataUseCase.Params): Result<Unit>
Link copied to clipboard
suspend operator fun invoke(params: UpdateSegmentedDataUseCase.Params): Result<Unit>