All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.pro.respawn.flowmvi.debugger.model.ServerEvent.kt Maven / Gradle / Ivy

Go to download

A Kotlin Multiplatform MVI library based on coroutines with a powerful plugin system

The newest version!
@file:UseSerializers(UUIDSerializer::class)
@file:Suppress("UndocumentedPublicClass", "UndocumentedPublicProperty") // response models for internal usage

package pro.respawn.flowmvi.debugger.model

import com.benasher44.uuid.Uuid
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import pro.respawn.flowmvi.api.MVIIntent
import pro.respawn.flowmvi.debugger.serializers.UUIDSerializer

@Serializable
public sealed interface ServerEvent : MVIIntent {

    public val storeId: Uuid

    @Serializable
    public data class Stop(val index: Int, override val storeId: Uuid) : ServerEvent
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy