org.mattshoe.shoebox.devtools.server.ClientDebugSession.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Kdux-devtools Show documentation
Show all versions of Kdux-devtools Show documentation
Kdux-devtools enables live inspection and time-travel debugging for Kdux Stores.
The newest version!
package org.mattshoe.shoebox.devtools.server
import kotlinx.coroutines.flow.Flow
import org.mattsho.shoebox.devtools.common.ServerRequest
import org.mattshoe.shoebox.org.mattsho.shoebox.devtools.common.Command
internal interface ClientDebugSession {
val adHocCommands: Flow
suspend fun send(serverRequest: ServerRequest)
suspend fun awaitResponse(serverRequest: ServerRequest): Command
suspend fun closeSession()
}