|
@@ -20,6 +20,7 @@ RxLua
|
|
|
- [fromTable](#fromtabletable-iterator-keys)
|
|
- [fromTable](#fromtabletable-iterator-keys)
|
|
|
- [fromCoroutine](#fromcoroutinecoroutine)
|
|
- [fromCoroutine](#fromcoroutinecoroutine)
|
|
|
- [defer](#deferfactory)
|
|
- [defer](#deferfactory)
|
|
|
|
|
+ - [replicate](#replicatevalue-count)
|
|
|
- [dump](#dumpname-formatter)
|
|
- [dump](#dumpname-formatter)
|
|
|
- [all](#allpredicate)
|
|
- [all](#allpredicate)
|
|
|
- [amb](#ambobservables)
|
|
- [amb](#ambobservables)
|
|
@@ -246,6 +247,17 @@ Creates an Observable that creates a new Observable for each observer using a fa
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
|
|
+#### `.replicate(value, count)`
|
|
|
|
|
+
|
|
|
|
|
+Returns an Observable that repeats a value a specified number of times.
|
|
|
|
|
+
|
|
|
|
|
+| Name | Type | Default | Description |
|
|
|
|
|
+|------|------|---------|-------------|
|
|
|
|
|
+| `value` | * | | The value to repeat. |
|
|
|
|
|
+| `count` | number (optional) | | The number of times to repeat the value. If left unspecified, the value is repeated an infinite number of times. |
|
|
|
|
|
+
|
|
|
|
|
+---
|
|
|
|
|
+
|
|
|
#### `:dump(name, formatter)`
|
|
#### `:dump(name, formatter)`
|
|
|
|
|
|
|
|
Subscribes to this Observable and prints values it produces.
|
|
Subscribes to this Observable and prints values it produces.
|