Exemplo n.º 1
0
        public async ValueTask DisposeAsync()
        {
            await _batchSender.DisposeAsync().ConfigureAwait(false);

            await _batchDeleter.DisposeAsync().ConfigureAwait(false);
        }
Exemplo n.º 2
0
        public async Task DisposeAsync(CancellationToken cancellationToken)
        {
            await _batchSender.DisposeAsync(cancellationToken).ConfigureAwait(false);

            await _batchDeleter.DisposeAsync(cancellationToken).ConfigureAwait(false);
        }