AppendAsync(ReadOnlySequence<byte>, CancellationToken)
public ValueTask AppendAsync(ReadOnlySequence<byte> segment, CancellationToken cancellationToken) Appends the provided segment to the journal atomically.
Parameters
segmentReadOnlySequence<byte>- The encoded journal bytes to append. The storage provider must not retain this buffer after the returned task completes.
cancellationTokenCancellationToken- The cancellation token.
Returns
A
System.Threading.Tasks.ValueTask representing the operation.