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