Skip to content

Commit

Permalink
Merge pull request #55 from linksplatform/feature/ISynchronization/re…
Browse files Browse the repository at this point in the history
…name_methods

Rename methods
  • Loading branch information
FreePhoenix888 authored Feb 14, 2022
2 parents f3bb7d7 + 46b3cfa commit b492ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp/Platform.Threading/ConcurrentQueueExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ public static async Task AwaitOne(this ConcurrentQueue<Task> queue)
/// <param name="queue"><para>The queue of asynchronous operations.</para><para>Очередь асинхронных операций.</para></param>
/// <param name="action"><para>The <see cref="Action"/> delegate.</para><para>Делагат <see cref="Action"/>.</para></param>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
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));
}
}

0 comments on commit b492ebc

Please sign in to comment.