# VolatileJournalStorage.DeleteAsync(CancellationToken)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Journaling/VolatileJournalStorage.cs#L265-L271)

```csharp
public ValueTask DeleteAsync(CancellationToken cancellationToken)
```

Deletes the journal atomically.

### Parameters

- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

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