Bones/node_modules/rxjs/operator/startWith.d.ts
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

14 lines
622 B
TypeScript

import { Scheduler } from '../Scheduler';
import { Observable } from '../Observable';
/**
* Returns an Observable that emits the items in a specified Iterable before it begins to emit items emitted by the
* source Observable.
*
* <img src="./img/startWith.png" width="100%">
*
* @param {Values} an Iterable that contains the items you want the modified Observable to emit first.
* @returns {Observable} an Observable that emits the items in the specified Iterable and then emits the items
* emitted by the source Observable.
*/
export declare function startWith<T>(...array: Array<T | Scheduler>): Observable<T>;