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

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