public static function race(array $observables, SchedulerInterface $scheduler = null): Observable
    {
        if (count($observables) === 1) {
            return $observables[0];
        }

        return static::fromArray($observables, $scheduler)->lift(function () {
            return new RaceOperator();
        });
    }