Skip to main content

Function: waitForSave()

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

Defined in: src/intents/core-wrappers.ts:449

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​

Replaces brittle page.waitForTimeout() calls.

Example​

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

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