Table of Contents

Interface IOfflineSyncCheckpointStore

Namespace
Honua.Sdk.Offline.Abstractions
Assembly
Honua.Sdk.Abstractions.dll

Checkpoint store adapter for provider sync tokens and source-level pull progress.

public interface IOfflineSyncCheckpointStore

Methods

GetCheckpointAsync(string, string, CancellationToken)

Gets the last checkpoint for a package source.

Task<OfflineSyncCheckpoint?> GetCheckpointAsync(string packageId, string sourceId, CancellationToken cancellationToken = default)

Parameters

packageId string

Offline package identifier.

sourceId string

Source identifier inside the package.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<OfflineSyncCheckpoint>

The checkpoint, or null when no checkpoint exists.

SaveCheckpointAsync(OfflineSyncCheckpoint, CancellationToken)

Saves the last checkpoint for a package source.

Task SaveCheckpointAsync(OfflineSyncCheckpoint checkpoint, CancellationToken cancellationToken = default)

Parameters

checkpoint OfflineSyncCheckpoint

Checkpoint to save.

cancellationToken CancellationToken

Cancellation token.

Returns

Task

A task that completes when the checkpoint is stored.