src/Observable.php
public static function range(int $start, int $count, SchedulerInterface $scheduler = null): RangeObservable
    {
        return new RangeObservable($start, $count, $scheduler ?: Scheduler::getDefault());
    }
public static function range(int $start, int $count, SchedulerInterface $scheduler = null): RangeObservable
    {
        return new RangeObservable($start, $count, $scheduler ?: Scheduler::getDefault());
    }
public static function range ( int $ start , int $ count , SchedulerInterface $ scheduler = null ) : RangeObservable { return new RangeObservable ( $ start , $ count , $ scheduler ? : Scheduler :: getDefault ( ) ) ; }
Generates an observable sequence of integral numbers within a specified range, using the specified scheduler to
send out observer messages.

@param $start
@param $count
@param SchedulerInterface $scheduler
@return RangeObservable
@throws \InvalidArgumentException

@demo range/range.php
@operator
@reactivex range
Generates an observable sequence of integral numbers within a specified range using the specified scheduler to send out observer messages .