Function: createCheckpoint()

createCheckpoint(args): Promise<{ id: string; }>

Converts the current working change set into a checkpoint.

The working change set becomes immutable and receives the checkpoint label. A fresh empty working change set is created so that new changes can continue to accumulate.

Parameters

args

lix

Lix

Returns

Promise<{ id: string; }>

Example

const { id } = await createCheckpoint({ lix })