public async ValueTask DisposeAsync()
        {
            await _queueCache.DisposeAsync().ConfigureAwait(false);

            _topicCache.Clear();

            _amazonSqs?.Dispose();
            _amazonSns?.Dispose();
        }
예제 #2
0
        public async Task DisposeAsync(CancellationToken cancellationToken)
        {
            await _queueCache.DisposeAsync(cancellationToken).ConfigureAwait(false);

            _topicCache.Clear();

            _amazonSqs?.Dispose();
            _amazonSns?.Dispose();
        }