dotnet / dotnet/dotnet-api-docs

Task.Wait docs don't tell what happens to Task after timeout

オープン
#3,602 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area-System.Threading.Tasks Pri3 untriaged
主要言語
C#
スター
950
フォーク
1.7k
平均マージ
2日 19時間
マージ済み PR(30日)
52

説明

The Task.Wait methods which accept timeout as a parameter, can complete before the Task itself completes. [The docs](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.wait) don't tell explicitly what happens to the Task itself in such scenario, which I observed to lead to some confusion.

Would it be ok to add an information that "the Task itself is not stopped" at the end of the remark about timeout elpapsing?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

issue にリンクされている Task.Wait API のドキュメントから始め、タイムアウトが経過したときに何が起こるかを説明している注記に重点を置いてください。Task 自体は停止されないことを記載するようドキュメントを更新し、タイムアウトを受け取るメソッドについてその動作が明示されれば作業完了としてください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。