runWhileSessionActive

open suspend fun runWhileSessionActive(session: RadioSessionContext, block: suspend () -> Unit): Boolean(source)

Runs block while holding the same lifecycle lease, without exposing the lease token. Implementations may serialize this convenience path to preserve handshake ordering; independently deferred work should use runWithSessionLease so it can acquire its own lease before its parent operation returns.