scope

val scope: CoroutineScope

Connection scope that can be used to launch coroutines, and is cancelled upon connection loss, disconnect or closure. The CoroutineScope is a supervisor scope, meaning any failures in launched coroutines will not fail other launched coroutines nor cause a disconnect.