Class OfflineSyncEngineOptions
Options for the provider-neutral offline sync engine.
public sealed record OfflineSyncEngineOptions : IEquatable<OfflineSyncEngineOptions>
- Inheritance
-
OfflineSyncEngineOptions
- Implements
- Inherited Members
Properties
BatchSize
Maximum number of local edit operations to upload in one push run.
public int BatchSize { get; init; }
Property Value
ConflictStrategy
Conflict strategy used when providers reject an edit due to stale local state.
public OfflineConflictStrategy ConflictStrategy { get; init; }
Property Value
MaxAttempts
Maximum number of attempts before a local operation is marked failed.
public int MaxAttempts { get; init; }
Property Value
RequireIdempotentEdits
Requires stable package and operation identities and a key from the first dispatch of each pending edit.
public bool RequireIdempotentEdits { get; init; }
Property Value
RetryDelay
Default delay recorded for retryable upload failures.
public TimeSpan RetryDelay { get; init; }
Property Value
Methods
Validate()
Validates option values.
public void Validate()
Exceptions
- ArgumentOutOfRangeException
Thrown when an option value is outside its supported range.