ReloadLazyTilesEventSchema

@Serializable
@SerialName(value = "ReloadLazyTiles")
data class ReloadLazyTilesEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val lazyTileId: String) : EventSchema

Resets the LazyTiles tile identified by lazyTileId back to its loading state, by dispatching a LazyTilesTileEvents.OnReloadTiles to it. The tile drops the tiles it had loaded and clears its failure flag, which makes it fire its request again — the way to retry after a failed load.

incomingData consumed: not used.

Triggers fired:

  • OnSuccessEventTrigger — when the signal reached the tile. Note this reports the reset, not the reload that follows: the load's own outcome arrives through the tile's OnLoadTilesSuccess / OnLoadTilesFailure triggers. No data is passed downstream.

  • OnFailureEventTrigger — when no tile with lazyTileId is currently mounted; the Throwable is passed as incomingData.

Constructors

Link copied to clipboard
constructor(id: String, trigger: EventTrigger, events: SerializableImmutableList<EventSchema>?, lazyTileId: String)

Properties

Link copied to clipboard
@SerialName(value = "events")
open override val events: SerializableImmutableList<EventSchema>?

This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.

Link copied to clipboard
@SerialName(value = "id")
open override val id: String

Unique identifier — how TriggerEvent/UpdateEvents address this event by id. Defaults to a random id when omitted from the DSL.

Link copied to clipboard
@SerialName(value = "lazyTileId")
val lazyTileId: String
Link copied to clipboard
@SerialName(value = "trigger")
open override val trigger: EventTrigger

The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.