FlushAsync(CancellationToken)
public Task FlushAsync(CancellationToken cancellationToken) Flushes any pending checkpoint to persistent storage. Awaits any in-progress save, then persists the latest offset if it has advanced beyond the last saved value.
Parameters
cancellationTokenCancellationToken- The cancellation token.
