watchTargetsIn

suspend fun BrowserSession.watchTargetsIn(coroutineScope: CoroutineScope): StateFlow<Map<TargetID, TargetInfo>>(source)

Deprecated

This extension will be removed in a future version.

Replace with

import org.hildan.chrome.devtools.domains.target.allTargetsFlow
import kotlinx.coroutines.flow.stateIn
this.target.allTargetsFlow().stateIn(coroutineScope)