repeat method

Observable<T> repeat (
  1. [int count = maxInteger]
)

Resubscribes on this observable count times.

Implementation

Observable<T> repeat([int count = maxInteger]) => count <= 0
    ? empty()
    : count == 1 ? this : RepeatObservable<T>(this, count);