Skip to content

VolatileJournalStorage.GetMetadataAsync(CancellationToken)

GetMetadataAsync(CancellationToken)

View source
public ValueTask<IJournalMetadata?> GetMetadataAsync(CancellationToken cancellationToken = default(CancellationToken))
Gets metadata for this journal storage instance.

Parameters

cancellationTokenCancellationToken
The cancellation token.

Returns

The metadata, or null if the storage instance does not exist.