DevToolsLogicObserver

constructor(clientId: String, scope: CoroutineScope, isConnected: () -> Boolean, shouldForward: () -> Boolean = { true }, sendMessage: suspend (DevToolsMessage) -> Unit)(source)

Parameters

clientId

Client identifier attached to each forwarded message

scope

CoroutineScope for async message sending

isConnected

Gate consulted before sending

sendMessage

Sink delivering the message over the active connection