commonMain.com.copperleaf.ballast.debugger.BallastDebuggerInterceptor.kt Maven / Gradle / Ivy
package com.copperleaf.ballast.debugger
import com.copperleaf.ballast.BallastInterceptor
import com.copperleaf.ballast.BallastInterceptorScope
import com.copperleaf.ballast.BallastLogger
import com.copperleaf.ballast.BallastNotification
import kotlinx.coroutines.flow.Flow
import kotlin.time.ExperimentalTime
@ExperimentalTime
public class BallastDebuggerInterceptor(
private val connection: BallastDebuggerClientConnection<*>,
) : BallastInterceptor {
override fun BallastInterceptorScope.start(notifications: Flow>) {
with(connection) {
connectViewModel(
notifications = notifications,
)
}
}
override suspend fun onNotify(logger: BallastLogger, notification: BallastNotification) {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy