RemoveTiles

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

Removes the children listed in tileIds from the grouping tile identified by groupingTileId — ids that aren't among its children are ignored. Does not consume incomingData. Dispatches onSuccess (no data) when the removal completed; 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 remove children from.

tileIds

Ids of the children to remove.