LocalDataStore.commit method
LocalDataStore › commit
Commits several record changes atomically without serializing the rest of the database.Signature:
commit(params: LocalDataStoreCommitParams): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| params | LocalDataStoreCommitParams | Writes and deletions in one transaction, optionally after clearing the store. |
Returns: Promise<void> — A promise that resolves only after all changes commit.