public async Task <TeamInfo> GetInfoAsync() { return(await _requestExecuter.Execute <TeamInfo>(() => _requestGenerator.GetInfo()).ConfigureAwait(false)); }
public async Task <TeamInfo> GetInfoAsync(CancellationToken cancellationToken = default(CancellationToken)) { return(await _requestExecuter.Execute <TeamInfo>(() => _requestGenerator.GetInfo(), cancellationToken : cancellationToken).ConfigureAwait(false)); }