The interface predicts that an operation will succeed so users can see a quick response instead of waiting for the server. The application then reconciles the visible state with the actual result.
Failure handling is essential. A rejected request must not remain falsely displayed as saved; the application needs a suitable rollback, correction or clear unresolved-state message.
ELI5
Imagine moving an item in a list immediately while the application checks that the change can be saved. The quick display is a prediction, not yet confirmation.
For example, a task may appear checked off at once, but if saving fails the interface should restore it or clearly show that the change remains unsaved.
Is an immediate interface change proof of a successful save?
No. Confirmation must come from the operation that durably records the change.
What happens when the request fails?
The interface should reconcile honestly, such as rolling back or clearly indicating the unresolved change.

