public async Task <LongPollDelta> LongPollDeltaAsync(string cursor = null, int timeout = 30, string asTeamMember = null) { return(await _requestExecuter.Execute <LongPollDelta>(() => _requestGenerator.LongPollDelta(cursor, timeout, asTeamMember)).ConfigureAwait(false)); }
public async Task <LongPollDelta> LongPollDeltaAsync(string cursor = null, int timeout = 30, string asTeamMember = null, CancellationToken cancellationToken = default(CancellationToken)) { return(await _requestExecuter.Execute <LongPollDelta>(() => _requestGenerator.LongPollDelta(cursor, timeout, asTeamMember), cancellationToken : cancellationToken).ConfigureAwait(false)); }