예제 #1
0
        protected override async Task <RateLimitDescription> Execute(CancellationToken token)
        {
            try
            {
                var result = await _accessor.ShowUserAsync(_target, token).ConfigureAwait(false);

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