Skip to main content
Version: 1.x

Function: waitForSave()

waitForSave(ui5, options?): Promise<IntentResult<void>>

Waits for UI5 to reach a stable (idle) state after a save or navigation.

Parameters

ui5

UI5HandlerSlice

UI5 interaction handler.

options?

IntentOptions

Optional timeout override (ms).

Returns

Promise<IntentResult<void>>

An IntentResult<void> describing the outcome.

Intent

Wait for all pending UI5 rendering and data-binding to complete.

Capability

intent.core.waitForSave

Example

import { waitForSave } from '#intents/core-wrappers.js';

await waitForSave(ui5, { timeout: 15_000 });