We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f56891 + b492ebc commit c9f65edCopy full SHA for c9f65ed
csharp/Platform.Threading/ConcurrentQueueExtensions.cs
@@ -49,6 +49,6 @@ public static async Task AwaitOne(this ConcurrentQueue<Task> queue)
49
/// <param name="queue"><para>The queue of asynchronous operations.</para><para>Очередь асинхронных операций.</para></param>
50
/// <param name="action"><para>The <see cref="Action"/> delegate.</para><para>Делагат <see cref="Action"/>.</para></param>
51
[MethodImpl(MethodImplOptions.AggressiveInlining)]
52
- public static void EnqueueAsRunnedTask(this ConcurrentQueue<Task> queue, Action action) => queue.Enqueue(Task.Run(action));
+ public static void RunAndPush(this ConcurrentQueue<Task> queue, Action action) => queue.Enqueue(Task.Run(action));
53
}
54
0 commit comments