GetTileChildrenCount
fun EventSchemaBuilderScope.GetTileChildrenCount(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {}, groupingTileId: String)
Reads how many children the grouping tile identified by groupingTileId currently holds. Does not consume incomingData. Dispatches onSuccess (carrying the count as an Int); onFailure (no data) when no grouping tile carries groupingTileId, or it cannot hold children.
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 whose child count is read.