Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 5290a1b

Browse files
2 parents 1d7a4c8 + adfb23d commit 5290a1b

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

doc/api/core/operators/retrywhen.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
### `Rx.Observable.prototype.retryWhen(notifier)`
22
[Ⓢ](https://github.com/Reactive-Extensions/RxJS/blob/master/src/core/linq/observable/retrywhen.js "View in source")
33

4-
Repeats the source observable sequence on error when the notifier emits a next value. If the source observable errors and the notifier completes, it will complete the source sequence
4+
Repeats the source observable sequence on error when the notifier emits a next value. If the source observable errors and the notifier completes, it will complete the source sequence.
55

66
#### Arguments
77
1. `notificationHandler` *(`Function`)*: A handler that is passed an observable sequence of errors raised by the source observable and returns
8-
and observable that either continues, completes or errors. This behavior is then applied to the source observable.
8+
an observable that either continues, completes or errors. This behavior is then applied to the source observable.
99

1010
#### Returns
1111
*(`Observable`)*: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully or is notified to error or complete.
1212

13-
#### Example: delayed retry
13+
#### Example: Delayed retry
1414
```js
1515
var source = Rx.Observable.interval(1000)
1616
.map(function(n) {
@@ -117,7 +117,7 @@ var subscription = source.subscribe(
117117
// => Completed
118118
```
119119

120-
An incrememntal back-off strategy for handling errors:
120+
#### Example: An incremental back-off strategy for handling errors
121121
```js
122122
Rx.Observable.create(function (o) {
123123
console.log("subscribing");

doc/api/core/operators/wrap.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Wrap the given generator `fn` into a function that returns an Observable.
1414
var Rx = require('rx');
1515

1616
var fn = Rx.Observable.wrap(function* (val) {
17-
return yield Observable.just(val);
17+
return yield Rx.Observable.just(val);
1818
});
1919

2020
fn(42).subscribe(

doc/api/core/operators/zip.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Merges the specified observable sequences or Promises into one observable sequen
1515
/* Without a result selector */
1616
var range = Rx.Observable.range(0, 5);
1717

18-
var source = Observable.zip(
18+
var source = Rx.Observable.zip(
1919
range,
2020
range.skip(1),
2121
range.skip(2)
@@ -40,7 +40,7 @@ var subscription = source.subscribe(
4040
/* With a result selector */
4141
var range = Rx.Observable.range(0, 5);
4242

43-
var source = Observable.zip(
43+
var source = Rx.Observable.zip(
4444
range,
4545
range.skip(1),
4646
range.skip(2),
@@ -68,7 +68,7 @@ var subscription = source.subscribe(
6868
/* Using promises and Observables */
6969
var range = Rx.Observable.range(0, 5);
7070

71-
var source = Observable.zip(
71+
var source = Rx.Observable.zip(
7272
Promise.resolve(0),
7373
Promise.resolve(1),
7474
Rx.Observable.return(2),

doc/libraries/main/rx.complete.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ NuGet Packages:
149149
- [`repeat`](../../api/core/operators/repeat.md)
150150
- [`replay`](../../api/core/operators/replay.md)
151151
- [`retry`](../../api/core/operators/retry.md)
152-
- [`retryWhen`](..api/core/operators/retrywhen.md)
152+
- [`retryWhen`](../../api/core/operators/retrywhen.md)
153153
- [`sample`](../../api/core/operators/sample.md)
154154
- [`scan`](../../api/core/operators/scan.md)
155155
- [`select`](../../api/core/operators/select.md)

0 commit comments

Comments
 (0)