src/Observable.php
public static function fromIterator(\Iterator $iterator, SchedulerInterface $scheduler = null): IteratorObservable
    {
        return new IteratorObservable($iterator, $scheduler ?: Scheduler::getDefault());
    }
public static function fromIterator(\Iterator $iterator, SchedulerInterface $scheduler = null): IteratorObservable
    {
        return new IteratorObservable($iterator, $scheduler ?: Scheduler::getDefault());
    }
public static function fromIterator ( \ Iterator $ iterator , SchedulerInterface $ scheduler = null ) : IteratorObservable { return new IteratorObservable ( $ iterator , $ scheduler ? : Scheduler :: getDefault ( ) ) ; }
Converts an Iterator into an observable sequence

@param \Iterator $iterator
@param SchedulerInterface $scheduler
@return IteratorObservable

@demo iterator/iterator.php
@operator
@reactivex from
Converts an Iterator into an observable sequence