Table of Contents

Method PostCheckpointRequest

Namespace
PowerSync.Common.Client.Connection
Assembly
PowerSync.Common.dll

PostCheckpointRequest(string, string, CancellationToken)

Posts a client-generated checkpoint request to the backend and returns the effective checkpoint request state.

Currently, checkpoint request IDs are represented as strings. This is because some PowerSync SDKs are for runtimes that don't have a fast 64-bit integer type. In a future release, checkpoint request IDs will change to be represented by longs, meaning the requestId parameter's type will also change to long.

Task<string> PostCheckpointRequest(string clientId, string requestId, CancellationToken token)

Parameters

clientId string
requestId string
token CancellationToken

Returns

Task<string>