Skip to main content

CrudBatch

A batch of client-side changes.

Extended by

Constructors

Constructor

new CrudBatch(
crud,
haveMore,
complete): CrudBatch;

Parameters

ParameterTypeDescription
crudCrudEntry[]List of client-side changes.
haveMorebooleantrue 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

PropertyModifierTypeDescription
completepublic(writeCheckpoint?) => Promise<void>Call to remove the changes from the local queue, once successfully uploaded.
crudpublicCrudEntry[]List of client-side changes.
haveMorepublicbooleantrue if there are more changes in the local queue.