Table of Contents

Class CheckpointMode

Namespace
PowerSync.Common.Client.Sync.Stream
Assembly
PowerSync.Common.dll

The mechanism to request checkpoints from the PowerSync service.

Checkpoint requests are used after a client uploads local mutations. The PowerSync service later references them in downloaded data, allowing the SDK to assume that uploaded data has been synced down again.

There are two ways to send checkpoint requests: A legacy (but default and stable) format supported by all PowerSync service versions, and a newer (requests) method which is only available from PowerSync service version 1.24.0 or later.

Note that the requests checkpoint mode is an alpha API.

public record CheckpointMode : IEquatable<CheckpointMode>
Inheritance
CheckpointMode
Implements
Derived
Inherited Members

Fields

Legacy

Uses a legacy but stable endpoint to request checkpoints.