File manager - Edit - /usr/local/lib/node_modules/ghost-cli/node_modules/listr/node_modules/rxjs/src/internal/observable/fromIterable.ts
Back
import { Observable } from '../Observable'; import { SchedulerLike } from '../types'; import { subscribeToIterable } from '../util/subscribeToIterable'; import { scheduleIterable } from '../scheduled/scheduleIterable'; export function fromIterable<T>(input: Iterable<T>, scheduler?: SchedulerLike) { if (!input) { throw new Error('Iterable cannot be null'); } if (!scheduler) { return new Observable<T>(subscribeToIterable(input)); } else { return scheduleIterable(input, scheduler); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings