public async ValueTask DisposeAsync() { await _serviceClient.DisposeAsync().ConfigureAwait(false); await _clientFactory.DisposeAsync().ConfigureAwait(false); }
async Task IAsyncDisposable.DisposeAsync(CancellationToken cancellationToken) { await _serviceClient.DisposeAsync(cancellationToken).ConfigureAwait(false); await _clientFactory.DisposeAsync(cancellationToken).ConfigureAwait(false); }