StopRefreshing
fun EventSchemaBuilderScope.StopRefreshing(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {}, tileId: String)
Stops the loading indicator of the PullToRefresh tile identified by tileId — the tile never hides its spinner on its own, so this event must close every refresh flow, on both the success and failure branches. Does not consume incomingData. Dispatches onSuccess (no data) when the signal reached the tile; onFailure (carrying the thrown exception) when no tile with tileId 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).
tileId
Id of the PullToRefresh tile to stop refreshing.