mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 19:27:56 +01:00
@@ -11,7 +11,7 @@ namespace Microsoft.Plugin.Program.Storage
|
||||
public static class EventHandler
|
||||
{
|
||||
// To obtain the path of the app when multiple events are added to the Concurrent queue across multiple threads.
|
||||
// On the first occurence of a different file path, the existing app path is to be returned without removing any more elements from the queue.
|
||||
// On the first occurrence of a different file path, the existing app path is to be returned without removing any more elements from the queue.
|
||||
public static async Task<string> GetAppPathFromQueueAsync(ConcurrentQueue<string> eventHandlingQueue, int dequeueDelay)
|
||||
{
|
||||
if (eventHandlingQueue == null)
|
||||
|
||||
Reference in New Issue
Block a user