mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-13 22:15:25 +00:00
update
This commit is contained in:
20
node_modules/rxjs/operator/repeat.js
generated
vendored
Normal file
20
node_modules/rxjs/operator/repeat.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
var repeat_1 = require('../operators/repeat');
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
function repeat(count) {
|
||||
if (count === void 0) { count = -1; }
|
||||
return repeat_1.repeat(count)(this);
|
||||
}
|
||||
exports.repeat = repeat;
|
||||
//# sourceMappingURL=repeat.js.map
|
Reference in New Issue
Block a user