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

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