watch Targets In
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
Content copied to clipboard
this.target.allTargetsFlow().stateIn(coroutineScope)Content copied to clipboard