You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Threading.Channels/ChannelWriter`1.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -140,8 +140,8 @@
140
140
</Parameters>
141
141
<Docs>
142
142
<paramname="cancellationToken">A <seecref="T:System.Threading.CancellationToken" /> used to cancel the wait operation.</param>
143
-
<summary>Returns a <seecref="T:System.Threading.Tasks.Task`1" /> that will complete when space is available to write an item.</summary>
144
-
<returns>A <seecref="T:System.Threading.Tasks.Task`1" /> that will complete with a <seelangword="true" /> result when space is available to write an item
143
+
<summary>Returns a <seecref="T:System.Threading.Tasks.ValueTask`1" /> that will complete when space is available to write an item.</summary>
144
+
<returns>A <seecref="T:System.Threading.Tasks.ValueTask`1" /> that will complete with a <seelangword="true" /> result when space is available to write an item
145
145
or with a <seelangword="false" /> result when no further writing will be permitted.</returns>
146
146
<remarks>To be added.</remarks>
147
147
</Docs>
@@ -168,7 +168,7 @@
168
168
<paramname="item">The value to write to the channel.</param>
169
169
<paramname="cancellationToken">A <seecref="T:System.Threading.CancellationToken" /> used to cancel the write operation.</param>
170
170
<summary>Asynchronously writes an item to the channel.</summary>
171
-
<returns>A <seecref="T:System.Threading.Tasks.Task" /> that represents the asynchronous write operation.</returns>
171
+
<returns>A <seecref="T:System.Threading.Tasks.ValueTask" /> that represents the asynchronous write operation.</returns>
0 commit comments