Update(string, string, CancellationToken)
abstract
public abstract ValueTask<string> Update(string offset, string expectedCheckpoint, CancellationToken cancellationToken) Updates the checkpoint if the persisted value matches the expected value.
Parameters
offsetstring- The offset.
expectedCheckpointstring- The expected persisted checkpoint.
cancellationTokenCancellationToken- The cancellation token.
Returns
The persisted checkpoint after the update attempt.
