CreateIfNotExistsAsync(IReadOnlyDictionary<string, string>, CancellationToken)
public ValueTask<bool> CreateIfNotExistsAsync(IReadOnlyDictionary<string, string>? metadata = null, CancellationToken cancellationToken = default(CancellationToken)) Creates this journal storage instance if it does not already exist.
Parameters
metadataIReadOnlyDictionary<string, string>- Initial caller-owned metadata properties.
cancellationTokenCancellationToken- The cancellation token.
Returns
true if storage was created; otherwise, false.