4 ms·
good. It looks it is much like the reflect.Select (https://golang.org/pkg/reflect/#Select https://golang.org/pkg/reflect/#Select) in Go. It has the benefit tha
by tapirl 8y ago
good. It looks it is much like the reflect.Select (https://golang.org/pkg/reflect/#Select https://golang.org/pkg/reflect/#Select) in Go.
It has the benefit that any number of tasks can be selected, but the efficiency is not good as hard-coded select blocks.
But it looks C# Task.WhenAny has much less use case variants than Go select block.