Skip to content

AUIScopeManager

Global registry of active CoroutineScopes created by open GUI screens.

Each ComposeScreen or ComposeContainerScreen registers its composeScope here on startup so that external systems (e.g. the event bus) can broadcast work to all live GUI coroutines without holding direct references to individual screens.

Scopes are removed automatically when their screen closes.

Properties

scopes

val scopes: MutableSet<CoroutineScope>

The set of all currently active GUI coroutine scopes.