Waits for the first of multiple generators/signals to complete and returns its value. Cancels all other generators when one completes.
Rest
Generators or signals to race
Generator that yields the first completed value
Waits for the first of multiple generators/signals to complete and returns its value. Cancels all other generators when one completes.