Ejemplo n.º 1
0
        protected override async Task <RateLimitDescription> Execute(CancellationToken token)
        {
            try
            {
                var result = await _accessor.GetUserTimelineAsync(_target, _receiveCount, LastSinceId, null,
                                                                  _excludeReplies, _includeRetweets, token).ConfigureAwait(false);

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