Import
Usage
Create an RxJS repeat
operator with an emit
method on it, to notify when the source should be repeated.
API
createRepeat
overloads
Overload 1
arguments | type | description |
---|---|---|
globalCount | number | Optional. Default is undefined .The number of times (applied globally) the source Observable items are repeated (a count of 0 will yield an empty Observable) |
destroyRef | DestroyRef | Optional. Default is undefined .The DestroyRef to pass when createRepeat is used outside of an injection context. |
Overload 2
arguments | type | description |
---|---|---|
destroyRef | DestroyRef | Optional. Default is undefined .The DestroyRef to pass when createRepeat is used outside of an injection context. |
Returned repeat
operator
arguments | type | description |
---|---|---|
count | number | Optional. Default is undefined .The number of times the source Observable items are repeated (a count of 0 will yield an empty Observable) |