RefreshScreenEventSchema
Refetches the screen this event lives in and applies the result to it. The screen is moved to its initial (loading) state, then to success with the new content or to its failure state — unlike GetScreen, no extra event is needed to install what came back.
The request targets the screen's own id; method (default GET), body, headers and timeoutMillis shape it.
incomingData consumed: not used.
Triggers fired:
OnSuccessEventTrigger— when the screen was fetched and applied; theScreenModelis passed as incomingData.OnNetworkFailureEventTrigger— when the request failed with an HTTP status and this event declares an event wired to that exact status; the failure is passed as incomingData.OnFailureEventTrigger— every other failure, and also HTTP failures with no status-specific event declared; theThrowableis passed as incomingData. Only one of this and the trigger above fires per failure. Failures are logged, and the screen is left in its failure state either way.
Constructors
Properties
This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.
The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.