WipeTiles

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

Removes every child of the grouping tile identified by groupingTileId, leaving it empty. Does not consume incomingData. Dispatches onSuccess (no data) when the children were removed; onFailure (carrying the thrown exception, logged) when no grouping tile carries groupingTileId.

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).

groupingTileId

Id of the grouping tile to empty.