CrudBatch
A batch of client-side changes.
Extended by
Constructors
Constructor
new CrudBatch(
crud,
haveMore,
complete): CrudBatch;
Parameters
| Parameter | Type | Description |
|---|---|---|
crud | CrudEntry[] | List of client-side changes. |
haveMore | boolean | true if there are more changes in the local queue. |
complete | (writeCheckpoint?) => Promise<void> | Call to remove the changes from the local queue, once successfully uploaded. |
Returns
CrudBatch
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
complete | public | (writeCheckpoint?) => Promise<void> | Call to remove the changes from the local queue, once successfully uploaded. |
crud | public | CrudEntry[] | List of client-side changes. |
haveMore | public | boolean | true if there are more changes in the local queue. |