OpenTween.TweenMain.RetweetAsync C# (CSharp) Method

RetweetAsync() private method

private RetweetAsync ( IReadOnlyList statusIds ) : Task
statusIds IReadOnlyList
return Task
        private async Task RetweetAsync(IReadOnlyList<long> statusIds)
        {
            await this.workerSemaphore.WaitAsync();

            try
            {
                var progress = new Progress<string>(x => this.StatusLabel.Text = x);

                await this.RetweetAsyncInternal(progress, this.workerCts.Token, statusIds);

                if (this._cfgCommon.PostAndGet && !this.tw.UserStreamActive)
                    await this.GetHomeTimelineAsync();
            }
            catch (WebApiException ex)
            {
                this._myStatusError = true;
                this.StatusLabel.Text = $"Err:{ex.Message}(PostRetweet)";
            }
            finally
            {
                this.workerSemaphore.Release();
            }
        }
TweenMain