public async Task <bool> CreateAsync(LeaderElectionRecord record, CancellationToken cancellationToken = default) { return(await primary.CreateAsync(record, cancellationToken).ConfigureAwait(false) && await secondary.CreateAsync(record, cancellationToken).ConfigureAwait(false)); }