ReloadLazyTiles

fun EventSchemaBuilderScope.ReloadLazyTiles(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {}, lazyTileId: String)

Resets the LazyTiles tile identified by lazyTileId back to its loading state — it drops the tiles it had loaded, clears its failure flag, and fires its request again, the way to retry after a failed load. Does not consume incomingData. Dispatches onSuccess (no data) 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 own load-success/load-failure triggers. onFailure (carrying the thrown exception) fires when no tile with lazyTileId is currently mounted.

Parameters

id

Unique identifier of this event. Defaults to a random id.

trigger

Trigger that fires this event, built via EventTriggers.

events

Child events chained after this one, wired to its triggers (onSuccess, onFailure).

lazyTileId

Id of the LazyTiles tile to reset and reload.