Save cancellation
Allow users and code to cancel in-flight save requests via AbortSignal. Cancelled changes return to a dirty but unsaved state. This avoids stuck UIs during slow networks.
Planned. This page shows the specification from issue #195. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Grid with 10 pending changes and a mock server with high latency.
Expected behavior
Cancel aborts the outstanding requests. Rows whose requests had already completed stay synced and the rest return to pending. A progress indicator shows n of m.
Planned API surface
save({signal})cancelSave()saveCancelledsaveProgressAcceptance criteria
- Partial completion is reported accurately. (pending)
- No rollback is applied to cancelled rows; they stay dirty. (pending)
- Cancel is idempotent. (pending)
- The progress value is exposed for custom UIs. (pending)