@@ -244,7 +244,7 @@ public static ValueTask<long> ReadAllAsync<TWrite, TRead>(this Channel<TWrite, T
244244 /// <param name="cancellationToken">An optional cancellation token.</param>
245245 /// <returns>A task containing the count of items read that completes when no more reading is to be done.
246246 /// The count should be ignored if the number of iterations could exceed the max value of long.</returns>
247- public static ValueTask < long > ReadAllAsync < TWrite , TRead > ( this Channel < TWrite , TRead > channel ,
247+ public static ValueTask < long > TaskReadAllAsync < TWrite , TRead > ( this Channel < TWrite , TRead > channel ,
248248 Func < TRead , long , Task > receiver ,
249249 CancellationToken cancellationToken = default )
250250 => channel . Reader . ReadAllAsync ( ( e , i ) => new ValueTask ( receiver ( e , i ) ) , cancellationToken ) ;
@@ -272,7 +272,7 @@ public static ValueTask<long> ReadAllAsync<T>(this ChannelReader<T> reader,
272272 /// <param name="cancellationToken">An optional cancellation token.</param>
273273 /// <returns>A task containing the count of items read that completes when no more reading is to be done.
274274 /// The count should be ignored if the number of iterations could exceed the max value of long.</returns>
275- public static ValueTask < long > ReadAllAsync < T > ( this ChannelReader < T > reader ,
275+ public static ValueTask < long > TaskReadAllAsync < T > ( this ChannelReader < T > reader ,
276276 Func < T , Task > receiver ,
277277 CancellationToken cancellationToken = default )
278278 => reader . ReadAllAsync ( ( e , i ) => new ValueTask ( receiver ( e ) ) , cancellationToken ) ;
@@ -286,7 +286,7 @@ public static ValueTask<long> ReadAllAsync<T>(this ChannelReader<T> reader,
286286 /// <param name="cancellationToken">An optional cancellation token.</param>
287287 /// <returns>A task containing the count of items read that completes when no more reading is to be done.
288288 /// The count should be ignored if the number of iterations could exceed the max value of long.</returns>
289- public static ValueTask < long > ReadAllAsync < TWrite , TRead > ( this Channel < TWrite , TRead > channel ,
289+ public static ValueTask < long > TaskReadAllAsync < TWrite , TRead > ( this Channel < TWrite , TRead > channel ,
290290 Func < TRead , Task > receiver ,
291291 CancellationToken cancellationToken = default )
292292 => channel . Reader . ReadAllAsync ( ( e , i ) => new ValueTask ( receiver ( e ) ) , cancellationToken ) ;
0 commit comments