# IJournalStorage.AppendAsync(ReadOnlySequence&lt;byte&gt;, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.ijournalstorage/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.ijournalstorage/methods/)

```csharp
public abstract ValueTask AppendAsync(ReadOnlySequence<byte> value, CancellationToken cancellationToken)
```

Appends the provided segment to the journal atomically.

### Parameters

- `value` (`ReadOnlySequence<byte>`): The encoded journal bytes to append. The storage provider must not retain this buffer after the returned task completes.
- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

A `System.Threading.Tasks.ValueTask` representing the operation.
