commitAllFields function

Module @runic-artifex/views in @runic-artifex/views 0.23.0

function commitAllFields(): Promise<void>;

Commits every field of the current instance (the page's, outside RunicInstance.run) that holds a draft, such as a commit: "pause" draft not written yet, and resolves once their writes settled. The runtime calls it when the application closes the window (presented/1), before it acknowledges the close; call it before a departure that the page does not start itself, such as before a host command that navigates. It never rejects.