DevToolsLogicObserver

class DevToolsLogicObserver(config: DevToolsConfig, devToolsLogic: DevToolsLogic, scope: CoroutineScope) : LogicObserver(source)

LogicObserver implementation that forwards tracing events to DevTools.

This observer connects the LogicTracer (from reaktiv-core) with the DevTools infrastructure, enabling logic method traces to be displayed in the DevTools UI. Filtering of events is handled in the WASM UI, not here.

Parameters

config

DevTools configuration for client identification

devToolsLogic

DevToolsLogic instance for sending messages

scope

CoroutineScope for async message sending

Constructors

Link copied to clipboard
constructor(config: DevToolsConfig, devToolsLogic: DevToolsLogic, scope: CoroutineScope)

Functions

Link copied to clipboard
open override fun onMethodCompleted(event: LogicMethodCompleted)
Link copied to clipboard
open override fun onMethodFailed(event: LogicMethodFailed)
Link copied to clipboard
open override fun onMethodStart(event: LogicMethodStart)