# VolatileJournalStorage.ReadAsync(IJournalStorageConsumer, CancellationToken)

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

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Journaling/VolatileJournalStorage.cs#L312-L332)

```csharp
public ValueTask ReadAsync(IJournalStorageConsumer consumer, CancellationToken cancellationToken)
```

Reads all journal data belonging to this instance and sends it to `consumer`.

### Parameters

- `consumer` (`IJournalStorageConsumer`): The consumer of ordered raw journal data. Chunk boundaries are not journal-entry boundaries.
- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

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