Esempio n. 1
0
        protected override async Task <RateLimitDescription> Execute(CancellationToken token)
        {
            try
            {
                var result = await _accessor.SearchAsync(_parameter, token).ConfigureAwait(false);

                result.CallForEachItems(CallHandler);
                return(result.RateLimit);
            }
            catch (Exception ex)
            {
                CallExceptionHandler(ex);
                throw;
            }
        }