chrome-devtools-kotlin / org.hildan.chrome.devtools.targets / use

use

suspend inline fun <T, S : AbstractTargetSession> S.use(block: (S) -> T): T

Performs the given operation in this session and closes the connection.