dispatchGroupEvent

fun dispatchGroupEvent(tileGroupEvent: TileGroupEvent)

Broadcasts tileGroupEvent to every TileHolder in the whole screen's tile tree whose handlesGroupEvent(event) returns true for it, by emitting a UIEvent.TileGroupEventHolderUIEvent.

Unlike dispatchEvent, this isn't addressed to tileId alone — it reaches every matching holder in the tree (not just siblings), which is how RadioButton's mutual-exclusion group works: selecting one radio button broadcasts a group event that every other RadioButton with the same groupId reacts to independently, clearing its own selected state with no server round trip.

Parameters

tileGroupEvent

the group-scoped event to broadcast — an instance of the TileGroupEvent sealed type the target tiles' TileHolder implementations understand.