contextsInUse

@get:CheckReturnValue
abstract override val contextsInUse: Observable<Set<SOContext>>

Returns an Observable which emits live-updates to the contexts which are currently in use (which is modified by calling use / release, or by contexts disappearing from the remote device (check availableContexts on that for further information)).

Internally, this is backed by a behavior logic, which means that on subscription the current set of used contexts will be emitted kind of instantly.

Please be aware, that if a new context is used (by calling use), this Observable will emit a new item containing the newly used SOContext before the use completes. However, the SOContext may only be fully available after the Completable returned by use completes.

Scheduler: The returned Observable will operate on the IO Scheduler.