repeat method
Creates an Observable that repeats the source's elements the specified number of times.
Example
new Observable.just(1).repeat(3).listen(print); // prints 1, 1, 1
Implementation
Observable<T> repeat(int repeatCount) =>
transform(new RepeatStreamTransformer<T>(repeatCount));