ScreenBehaviorsHolder

Surface a screen exposes for two screen-level behaviors an event may need: publishing on the screen's own broadcast channel, and moving the screen between its 3 lifecycle states — the collaborator behind EventRunningScope.screenBehaviorsHolder, implemented by MosaicScreenStateHolder.

Inheritors

Types

Link copied to clipboard
sealed interface State

The 3 states a screen can be in — mirrors the server-authored ScreenTileSchema.State the ChangeScreenState event's own state parameter targets.

Functions

Link copied to clipboard

Publishes data on this screen's dev.catbit.mosaic.client.ui.sdui.foundation.screen_tiles_broadcast.ScreenTilesBroadcastChannel — what EventRunningScope.broadcastData(...) delegates to.

Link copied to clipboard

Moves this screen to state — the mechanism behind ChangeScreenState, and what GetScreen/RefreshScreen ultimately call once a fetch resolves.