Robuta

https://learn.microsoft.com/zh-tw/dotnet/api/system.threading.tasks.task.whenany?view=netframework-4.8.1&viewFallbackFrom=net-8.0 Task.WhenAny Method (System.Threading.Tasks) | Microsoft Learn Creates a task that will complete when any of the supplied tasks have completed. taskmethodsystemthreadingmicrosoft