Tumortisch-Dist/resources/app/node_modules/rxjs/operators/repeat.d.ts

15 lines
613 B
TypeScript
Raw Permalink Normal View History

2021-06-15 16:00:08 +02:00
import { MonoTypeOperatorFunction } from '../interfaces';
/**
* Returns an Observable that repeats the stream of items emitted by the source Observable at most count times.
*
* <img src="./img/repeat.png" width="100%">
*
* @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield
* an empty Observable.
* @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most
* count times.
* @method repeat
* @owner Observable
*/
export declare function repeat<T>(count?: number): MonoTypeOperatorFunction<T>;