Documentation / @warp-drive/core / reactive / commit
Function: commit()
ts
function commit(record): Promise<void>;
Defined in: warp-drive-packages/core/src/reactive/-private/record.ts:730
Forcibly commit all local changes on an editable resource to the remote (immutable) version.
This API should only be used cautiously. Typically a better approach is for either the API or a Handler to reflect saved changes back to update the cache.
Parameters
record
Returns
Promise
<void
>